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: