-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Cop idea: Negative #valid? method #1015
Labels
enhancement
New feature or request
Comments
Linked: rubocop/rubocop-rspec#1660 |
This should be handled by existing |
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Aug 28, 2023
…tive Support methods Resolves rubocop#1015. This PR makes `Style/InvertibleUnlessCondition` aware of Active Support methods. It still inherits the default disabled.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Aug 28, 2023
…tive Support methods Resolves rubocop#1015. This PR makes `Style/InvertibleUnlessCondition` aware of Active Support methods. It still inherits the default disabled.
9 tasks
koic
added a commit
that referenced
this issue
Sep 4, 2023
…tion_aware_of_as_methods [Fix #1015] Make `Style/InvertibleUnlessCondition` aware of Active Support methods
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actual behavior
I have the code:
I run rubocop:
Expected behavior
I expected to receive the following code:
The text was updated successfully, but these errors were encountered: