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:
|
merge:
|
||||||
- Include
|
- Include
|
||||||
- Exclude
|
- Exclude
|
||||||
|
- AllowedMethods
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: 2.6
|
TargetRubyVersion: 2.6
|
||||||
|
|||||||
@ -50,9 +50,7 @@ Metrics/ModuleLength:
|
|||||||
- "test/**/*"
|
- "test/**/*"
|
||||||
|
|
||||||
Naming/PredicateName:
|
Naming/PredicateName:
|
||||||
# Can't rename these.
|
|
||||||
AllowedMethods:
|
AllowedMethods:
|
||||||
- is_a?
|
|
||||||
- is_32_bit?
|
- is_32_bit?
|
||||||
- is_64_bit?
|
- is_64_bit?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user