aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-24 16:43:22 +0100
committerMike McQuaid2016-09-24 16:43:22 +0100
commit442e9e8ad5ea6c5b77e7d74b5b02663b0b6f0e85 (patch)
tree393178406a6be35c7b54e07176566321941b901b /Library
parentdd393c73ed176450d4e825ecd831912b3b15f097 (diff)
downloadbrew-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.yml7
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