Merge pull request #9169 from danielbayley/brewfile-style

Fix brew style checks on Brewfiles
This commit is contained in:
Markus Reiter 2020-11-17 18:11:45 +01:00 committed by GitHub
commit 66b6828ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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