From a4f86ba9736f1a7fb5a4ae2ec6705a344f90c9e6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 30 Apr 2019 09:19:29 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20require=20aligned=20arguments?= =?UTF-8?q?=20for=20taps.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/.rubocop.yml | 2 +- Library/Homebrew/.rubocop.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index d515d46b3f..a045d4cdcd 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -18,7 +18,7 @@ Layout/AlignHash: EnforcedColonStyle: table # `system` is a special case and aligns on second argument -Layout/AlignParameters: +Layout/AlignArguments: Enabled: false # favour parens-less DSL-style arguments diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index 416a664bbc..08e0eff16c 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -9,6 +9,10 @@ AllCops: - '**/Casks/**/*' - '**/vendor/**/*' +# messes up system formatting for formulae but good for Homebrew/brew +Layout/AlignArguments: + Enabled: true + # make rspec formatting more flexible Layout/MultilineMethodCallIndentation: Exclude: