diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index bad79cf04a..7dda085321 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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