rubocop: Naming/PredicateName allows is_a? by default
https://github.com/rubocop/rubocop/blob/master/lib/rubocop/cop/naming/predicate_name.rb#L16
This commit is contained in:
parent
8399c58d23
commit
364c3462b7
@ -9,6 +9,7 @@ inherit_mode:
|
||||
merge:
|
||||
- Include
|
||||
- Exclude
|
||||
- AllowedMethods
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.6
|
||||
|
||||
@ -50,9 +50,7 @@ Metrics/ModuleLength:
|
||||
- "test/**/*"
|
||||
|
||||
Naming/PredicateName:
|
||||
# Can't rename these.
|
||||
AllowedMethods:
|
||||
- is_a?
|
||||
- is_32_bit?
|
||||
- is_64_bit?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user