rubocop: allow hash rockets in taps.

Because `depends_on foo: :bar` looks rubbish.
This commit is contained in:
Mike McQuaid 2016-09-24 16:43:22 +01:00
parent dd393c73ed
commit 442e9e8ad5

View File

@ -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