rubocop.yml: disable some buggy cops.

This commit is contained in:
Mike McQuaid 2021-01-29 17:14:39 +00:00
parent eea27d9a60
commit 27e8c117e4
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -54,6 +54,12 @@ FormulaAudit:
FormulaAuditStrict:
Enabled: true
# TODO: try to re-enable in RuboCop >=1.9.1
Lint/SymbolConversion:
Enabled: false
Style/EvalWithLocation:
Enabled: false
# makes DSL usage ugly.
Layout/SpaceBeforeBrackets:
Exclude:
@ -204,7 +210,8 @@ Rails/TimeZone:
# Don't allow cops to be disabled in casks and formulae.
Style/DisableCopsWithinSourceCodeDirective:
Enabled: true
# TODO: try to re-enable in RuboCop >=1.9.1
Enabled: false
Include:
- "Taps/*/*/*.rb"
- "/**/{Formula,Casks}/*.rb"