update rubocop rules

This commit is contained in:
stve 2017-02-17 15:39:27 -05:00
parent 7656dabac2
commit 32e65b12af
No known key found for this signature in database
GPG key ID: FDAF2BA50D34F744

View file

@ -6,6 +6,11 @@ AllCops:
- 'spec/**/*.rb'
DisplayCopNames: true
Metrics/BlockLength:
Max: 36
Exclude:
- spec/**/*.rb
Metrics/BlockNesting:
Max: 2
@ -34,9 +39,15 @@ Style/Documentation:
Style/DoubleNegation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space