Skip to content

Commit ecd9fbe

Browse files
committed
[Fix #914] Make Style/InverseMethods aware of valid? and invalid? methods
Fixes #914. This commit makes `Style/InverseMethods` aware of `valid?` and `invalid?` methods.
1 parent 81b0fdc commit ecd9fbe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [#914](https://github.com/rubocop/rubocop-rails/issues/914): Make `Style/InverseMethods` aware of `valid?` and `invalid?` methods. ([@koic][])

config/default.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ Style/InverseMethods:
11511151
InverseMethods:
11521152
:present?: :blank?
11531153
:include?: :exclude?
1154+
:valid?: :invalid?
11541155

11551156
Style/SymbolProc:
11561157
AllowedMethods:

0 commit comments

Comments
 (0)