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:
Issy Long 2023-02-19 15:53:56 +00:00
parent 8399c58d23
commit 364c3462b7
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4
2 changed files with 1 additions and 2 deletions

View File

@ -9,6 +9,7 @@ inherit_mode:
merge:
- Include
- Exclude
- AllowedMethods
AllCops:
TargetRubyVersion: 2.6

View File

@ -50,9 +50,7 @@ Metrics/ModuleLength:
- "test/**/*"
Naming/PredicateName:
# Can't rename these.
AllowedMethods:
- is_a?
- is_32_bit?
- is_64_bit?