Skip to content

Commit

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

[Fix #888] Make `Style/InverseMethods` aware of `exists?`
  • Loading branch information
koic committed Apr 4, 2023
2 parents 9ac7a15 + 3b6e08f commit f73d8ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,10 @@ Style/FormatStringToken:
AllowedMethods:
- redirect

Style/InverseMethods:
InverseMethods:
:exists?: :none?

Style/SymbolProc:
AllowedMethods:
- define_method
Expand Down

0 comments on commit f73d8ed

Please sign in to comment.