From 442e9e8ad5ea6c5b77e7d74b5b02663b0b6f0e85 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 24 Sep 2016 16:43:22 +0100 Subject: [PATCH] rubocop: allow hash rockets in taps. Because `depends_on foo: :bar` looks rubbish. --- Library/.rubocop_rules.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml index 11349b8dcf..145568e5e2 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