More Rubocop tweaks.
- Don't enforce hash rockets on external commands. - Enabled accidentally disabled ParenthesesAsGroupedExpression.
This commit is contained in:
parent
c521ff4a94
commit
6c4042f593
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user