Skip to content

Commit f73d8ed

Browse files
authored
Merge pull request #973 from koic/make_style_inverse_methods_aware_of_exists_predicate
[Fix #888] Make `Style/InverseMethods` aware of `exists?`
2 parents 9ac7a15 + 3b6e08f commit f73d8ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/default.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,10 @@ Style/FormatStringToken:
11521152
AllowedMethods:
11531153
- redirect
11541154

1155+
Style/InverseMethods:
1156+
InverseMethods:
1157+
:exists?: :none?
1158+
11551159
Style/SymbolProc:
11561160
AllowedMethods:
11571161
- define_method

0 commit comments

Comments
 (0)