Skip to content

Commit

Permalink
rubocop: Naming/PredicateName allows is_a? by default
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Feb 19, 2023
1 parent 8399c58 commit 364c346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Library/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inherit_mode:
merge:
- Include
- Exclude
- AllowedMethods

AllCops:
TargetRubyVersion: 2.6
Expand Down
2 changes: 0 additions & 2 deletions Library/Homebrew/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ Metrics/ModuleLength:
- "test/**/*"

Naming/PredicateName:
# Can't rename these.
AllowedMethods:
- is_a?
- is_32_bit?
- is_64_bit?

Expand Down

0 comments on commit 364c346

Please sign in to comment.