.rubocop.yml: brew style fixes.

- uncomment `ModuleLength` disable.
- don't enforce hash rockets for external commands
This commit is contained in:
Mike McQuaid 2018-12-03 13:23:20 +01:00
parent 720df73b17
commit b34994b085
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -77,8 +77,8 @@ Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
# Metrics/ModuleLength:
# Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
@ -109,6 +109,8 @@ Style/GuardClause:
# depends_on a: :b looks weird in formulae.
Style/HashSyntax:
EnforcedStyle: hash_rockets
Exclude:
- '**/cmd/*.rb'
# ruby style guide favorite
Style/StringLiterals: