Skip to content
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

Style/InverseMethods extension is difficult to change setting #949

Closed
johnnyshields opened this issue Mar 9, 2023 · 1 comment
Closed

Comments

@johnnyshields
Copy link

johnnyshields commented Mar 9, 2023

PR #914 added valid? to the list of inverse methods. It would be nice if there were an easy way to remove valid? from the list of InverseMethods, or if this were in a separate cop such as Rails/InverseMethods that could be easily disabled.

Either of the following would be acceptable for me:

Rails/InverseMethods:
  Enabled: false

# OR

Style/InverseMethods:
  IgnoreMethods:
    - valid?
@johnnyshields johnnyshields changed the title Style/InverseMethods Style/InverseMethods extension is difficult to change setting Mar 9, 2023
@johnnyshields
Copy link
Author

Not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant