rubocop: In-line disables for Style/{Class,Global}Vars
- Other occurrences of `@@` and `$` variables are individually disabled in-line in other files. - So let's follow the same pattern for Homebrew/homebrew-cask developer scripts, since there are only a few.
This commit is contained in:
parent
87b94d9358
commit
f2e21d5c1e
@ -342,11 +342,6 @@ Style/BlockDelimiters:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- "Homebrew/**/*_spec.rb"
|
- "Homebrew/**/*_spec.rb"
|
||||||
|
|
||||||
# TODO: remove this when possible.
|
|
||||||
Style/ClassVars:
|
|
||||||
Exclude:
|
|
||||||
- "**/developer/bin/*"
|
|
||||||
|
|
||||||
# Use consistent style for better readability.
|
# Use consistent style for better readability.
|
||||||
Style/CollectionMethods:
|
Style/CollectionMethods:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
@ -386,11 +381,6 @@ Style/FrozenStringLiteralComment:
|
|||||||
- "**/*.rbi"
|
- "**/*.rbi"
|
||||||
- "**/Brewfile"
|
- "**/Brewfile"
|
||||||
|
|
||||||
# TODO: remove this when possible.
|
|
||||||
Style/GlobalVars:
|
|
||||||
Exclude:
|
|
||||||
- "**/developer/bin/*"
|
|
||||||
|
|
||||||
# potential for errors in formulae too high with this
|
# potential for errors in formulae too high with this
|
||||||
Style/GuardClause:
|
Style/GuardClause:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user