Merge pull request #14709 from issyl0/rubocop-tidying

rubocop: Some more config cleanup
This commit is contained in:
Mike McQuaid 2023-02-20 19:35:36 +00:00 committed by GitHub
commit 4eaaa867de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -9,6 +9,7 @@ inherit_mode:
merge:
- Include
- Exclude
- AllowedMethods
AllCops:
TargetRubyVersion: 2.6
@ -20,9 +21,8 @@ AllCops:
- "**/*.rbi"
Exclude:
- "Homebrew/sorbet/rbi/gems/**/*.rbi"
- "Homebrew/sorbet/rbi/hidden-definitions/**/*.rbi"
- "Homebrew/sorbet/rbi/hidden-definitions/*.rbi"
- "Homebrew/sorbet/rbi/todo.rbi"
- "Homebrew/sorbet/rbi/upstream.rbi"
- "Homebrew/bin/*"
- "Homebrew/vendor/**/*"
- "Taps/*/*/vendor/**/*"

View File

@ -31,9 +31,7 @@ Metrics/ModuleLength:
Max: 481
Naming/PredicateName:
# Can't rename these.
AllowedMethods:
- is_a?
- is_32_bit?
- is_64_bit?