Merge pull request #14236 from apainintheneck/add-ignores-for-os-cop

Only use OS cop internally
This commit is contained in:
Mike McQuaid 2022-12-12 17:44:40 +00:00 committed by GitHub
commit c1d7b10045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -55,16 +55,14 @@ FormulaAudit:
FormulaAuditStrict: FormulaAuditStrict:
Enabled: true Enabled: true
Homebrew/MoveToExtendOS:
Exclude:
- "Homebrew/{extend,test,requirements}/**/*"
- "Taps/**/*"
- "Homebrew/os.rb"
# enable all Homebrew custom cops # enable all Homebrew custom cops
Homebrew: Homebrew:
Enabled: true Enabled: true
# only used internally
Homebrew/MoveToExtendOS:
Enabled: false
# makes DSL usage ugly. # makes DSL usage ugly.
Layout/SpaceBeforeBrackets: Layout/SpaceBeforeBrackets:
Exclude: Exclude:

View File

@ -2,6 +2,12 @@ inherit_from:
- ../.rubocop_rspec.yml - ../.rubocop_rspec.yml
- .rubocop_todo.yml - .rubocop_todo.yml
Homebrew/MoveToExtendOS:
Enabled: true
Exclude:
- "{extend,test,requirements}/**/*"
- "os.rb"
# make rspec formatting more flexible # make rspec formatting more flexible
Layout/MultilineMethodCallIndentation: Layout/MultilineMethodCallIndentation:
Exclude: Exclude: