More Rubocop tweaks.

- Don't enforce hash rockets on external commands.
- Enabled accidentally disabled ParenthesesAsGroupedExpression.
This commit is contained in:
Mike McQuaid 2016-10-22 15:53:18 +01:00
parent c521ff4a94
commit 6c4042f593
2 changed files with 3 additions and 1 deletions

View File

@ -85,6 +85,8 @@ Style/GuardClause:
# depends_on a: :b looks weird in formulae. # depends_on a: :b looks weird in formulae.
Style/HashSyntax: Style/HashSyntax:
EnforcedStyle: hash_rockets EnforcedStyle: hash_rockets
Exclude:
- '**/cmd/**/*'
# disabled until it respects line length # disabled until it respects line length
Style/IfUnlessModifier: Style/IfUnlessModifier:

View File

@ -20,7 +20,7 @@ Lint/NestedMethodDefinition:
# so many of these in formulae but none in here # so many of these in formulae but none in here
Lint/ParenthesesAsGroupedExpression: Lint/ParenthesesAsGroupedExpression:
Enabled: false Enabled: true
Metrics/ModuleLength: Metrics/ModuleLength:
CountComments: false CountComments: false