Ignore os cop in tap Formula/Cask folders

This commit is contained in:
apainintheneck 2022-12-09 12:01:44 -08:00
parent 11cdffb4fe
commit 07ff122c8d
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: