-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule: warn on != in iteration #79
Labels
Comments
anderseknert
added a commit
that referenced
this issue
May 26, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
May 26, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
Merged
anderseknert
added a commit
that referenced
this issue
May 26, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Jun 1, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Jun 1, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Jun 1, 2023
Like a few other rules, this won't catch all violations as we don't yet traverse nested structures like comprehensions or `every` constructs. Fixes #79 Signed-off-by: Anders Eknert <anders@styra.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
!=
in iteration is almost always a bug:What was likely intended:
Add to new category named "bugs".
The text was updated successfully, but these errors were encountered: