-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Documentation 📗Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Milestone
Description
Current problem
A small suggestion to improve readability of this checker, since it covers not only the not
keyword but also the !=
symbol.
Also in the description, it might not be perfectly clear what a unneeded negation
is.
Desired solution
New name suggestion (or similar): redundant-negation
The description can be extended to this:
Used when a boolean expression contains an unneeded negation, e.g. when two negation operators cancel each other out.
Additional context
No response
Metadata
Metadata
Assignees
Labels
Documentation 📗Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation