mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
update rubocop rules
This commit is contained in:
parent
7656dabac2
commit
32e65b12af
1 changed files with 11 additions and 0 deletions
11
.rubocop.yml
11
.rubocop.yml
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue