From 7cc48a03d5c69ddb5e3504baf2fb5c2ef8863e50 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 28 Dec 2020 15:58:55 +0000 Subject: [PATCH] rubocop: exclude new cop. This doesn't look good for DSLs. --- Library/.rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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