rubocop: exclude new cop.

This doesn't look good for DSLs.
This commit is contained in:
Mike McQuaid 2020-12-28 15:58:55 +00:00
parent d4461a2728
commit 7cc48a03d5
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -54,6 +54,14 @@ FormulaAudit:
FormulaAuditStrict:
Enabled: true
# makes DSL usage ugly.
Layout/SpaceBeforeBrackets:
Exclude:
- "**/*_spec.rb"
- "Taps/*/*/*.rb"
- "/**/{Formula,Casks}/*.rb"
- "**/{Formula,Casks}/*.rb"
# Use `<<~` for heredocs.
Layout/HeredocIndentation:
Enabled: true