This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
π noNegationElse is not considering double negation #3141
Labels
A-Linter
Area: linter
S-Bug: confirmed
Status: report has been confirmed as a valid bug
S-Planned
Status: planned by the team, but not in the short term
Milestone
Environment information
This is the result on the branch
main
.What happened?
This is also in conflict with:
Expected result
I am not entirely sure the suggested fix is exactly the same as the original code in all cases.
And secondly, the fix would be flagged again for the same rule.
I would expect the rule to not flag anything using double negation.
Code of Conduct
The text was updated successfully, but these errors were encountered: