Don’t require aligned arguments for taps.

This commit is contained in:
Mike McQuaid 2019-04-30 09:19:29 +01:00
parent c4f72312ce
commit a4f86ba973
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
2 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,7 @@ Layout/AlignHash:
EnforcedColonStyle: table EnforcedColonStyle: table
# `system` is a special case and aligns on second argument # `system` is a special case and aligns on second argument
Layout/AlignParameters: Layout/AlignArguments:
Enabled: false Enabled: false
# favour parens-less DSL-style arguments # favour parens-less DSL-style arguments

View File

@ -9,6 +9,10 @@ AllCops:
- '**/Casks/**/*' - '**/Casks/**/*'
- '**/vendor/**/*' - '**/vendor/**/*'
# messes up system formatting for formulae but good for Homebrew/brew
Layout/AlignArguments:
Enabled: true
# make rspec formatting more flexible # make rspec formatting more flexible
Layout/MultilineMethodCallIndentation: Layout/MultilineMethodCallIndentation:
Exclude: Exclude: