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:
Issy Long 2023-03-03 23:27:05 +00:00
parent 87b94d9358
commit f2e21d5c1e
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -342,11 +342,6 @@ Style/BlockDelimiters:
Exclude:
- "Homebrew/**/*_spec.rb"
# TODO: remove this when possible.
Style/ClassVars:
Exclude:
- "**/developer/bin/*"
# Use consistent style for better readability.
Style/CollectionMethods:
Enabled: true
@ -386,11 +381,6 @@ Style/FrozenStringLiteralComment:
- "**/*.rbi"
- "**/Brewfile"
# TODO: remove this when possible.
Style/GlobalVars:
Exclude:
- "**/developer/bin/*"
# potential for errors in formulae too high with this
Style/GuardClause:
Exclude: