Merge pull request #9169 from danielbayley/brewfile-style
Fix brew style checks on Brewfiles
This commit is contained in:
commit
66b6828ab5
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user