Skip to content

Commit

Permalink
Merge pull request #936 from koic/make_style_inverse_methods_aware_of…
Browse files Browse the repository at this point in the history
…_valid_and_invalid

[Fix #914] Make `Style/InverseMethods` aware of `valid?` and `invalid?` methods
  • Loading branch information
koic authored Feb 24, 2023
2 parents 9ff0c4d + ecd9fbe commit e179054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#914](https://github.com/rubocop/rubocop-rails/issues/914): Make `Style/InverseMethods` aware of `valid?` and `invalid?` methods. ([@koic][])
1 change: 1 addition & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ Style/InverseMethods:
InverseMethods:
:present?: :blank?
:include?: :exclude?
:valid?: :invalid?

Style/SymbolProc:
AllowedMethods:
Expand Down

0 comments on commit e179054

Please sign in to comment.