Fix brew style checks on Brewfiles

Fixes https://github.com/Homebrew/homebrew-test-bot/issues/522
This commit is contained in:
Daniel Bayley 2020-11-17 16:05:11 +00:00
parent af4143150d
commit cfceee7872

View File

@ -120,6 +120,8 @@ Style/IfUnlessModifier:
Style/NumericLiterals:
MinDigits: 7
Strict: true
Exclude:
- '**/Brewfile'
# Zero-prefixed octal literals are widely used and understood.
Style/NumericLiteralPrefix:
@ -373,6 +375,7 @@ Style/FrozenStringLiteralComment:
- '**/{Formula,Casks}/*.rb'
- 'Homebrew/test/**/Casks/**/*.rb'
- '**/*.rbi'
- '**/Brewfile'
# TODO: remove this when possible.
Style/GlobalVars: