diff options
| author | Mike McQuaid | 2016-09-24 16:43:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-24 16:43:22 +0100 |
| commit | 442e9e8ad5ea6c5b77e7d74b5b02663b0b6f0e85 (patch) | |
| tree | 393178406a6be35c7b54e07176566321941b901b /Library | |
| parent | dd393c73ed176450d4e825ecd831912b3b15f097 (diff) | |
| download | brew-442e9e8ad5ea6c5b77e7d74b5b02663b0b6f0e85.tar.bz2 | |
rubocop: allow hash rockets in taps.
Because `depends_on foo: :bar` looks rubbish.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop_rules.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml index 11349b8dc..145568e5e 100644 --- a/Library/.rubocop_rules.yml +++ b/Library/.rubocop_rules.yml @@ -1,4 +1,3 @@ - # ruby style guide favorite Style/StringLiterals: EnforcedStyle: double_quotes @@ -19,6 +18,12 @@ Style/NumericLiteralPrefix: Style/CommandLiteral: EnforcedStyle: mixed +# depends_on foo: :bar looks rubbish +Style/HashSyntax: + EnforcedStyle: ruby19 + Exclude: + - 'Taps/**/*' + # paths abound, easy escape Style/RegexpLiteral: EnforcedStyle: slashes |
