.rubocop.yml: disable Style/FetchEnvVar in formulae (for now)
This commit is contained in:
parent
02164a35db
commit
4d5378362c
@ -122,6 +122,14 @@ Style/BarePercentLiterals:
|
|||||||
Style/CollectionMethods:
|
Style/CollectionMethods:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
# This is quite a large change, so don't enforce this yet for formulae.
|
||||||
|
# We should consider doing so in the future, but be aware of the impact on third-party taps.
|
||||||
|
Style/FetchEnvVar:
|
||||||
|
Exclude:
|
||||||
|
- "Taps/*/*/*.rb"
|
||||||
|
- "/**/Formula/*.rb"
|
||||||
|
- "**/Formula/*.rb"
|
||||||
|
|
||||||
# Prefer tokens with type annotations for consistency
|
# Prefer tokens with type annotations for consistency
|
||||||
# between formatting numbers and strings.
|
# between formatting numbers and strings.
|
||||||
Style/FormatStringToken:
|
Style/FormatStringToken:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user