diff options
| author | Mike McQuaid | 2016-09-24 16:47:14 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-24 16:47:14 +0100 |
| commit | 6eebea452517f421f180d84d41cdce808351ec44 (patch) | |
| tree | ce136b007b5161290c3e7a77051ac4fb2a8631ca /Library | |
| parent | e2c7509065d8cd6fd76cd631f5c8d1068df49cad (diff) | |
| parent | 442e9e8ad5ea6c5b77e7d74b5b02663b0b6f0e85 (diff) | |
| download | brew-6eebea452517f421f180d84d41cdce808351ec44.tar.bz2 | |
Merge pull request #1119 from MikeMcQuaid/rubocop-allow-hash-rockets-in-taps
rubocop: allow hash rockets in taps.
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 b5cb85aba..543dc4018 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 |
