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'
|
- 'spec/**/*.rb'
|
||||||
DisplayCopNames: true
|
DisplayCopNames: true
|
||||||
|
|
||||||
|
Metrics/BlockLength:
|
||||||
|
Max: 36
|
||||||
|
Exclude:
|
||||||
|
- spec/**/*.rb
|
||||||
|
|
||||||
Metrics/BlockNesting:
|
Metrics/BlockNesting:
|
||||||
Max: 2
|
Max: 2
|
||||||
|
|
||||||
|
|
@ -34,9 +39,15 @@ Style/Documentation:
|
||||||
Style/DoubleNegation:
|
Style/DoubleNegation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
Style/FrozenStringLiteralComment:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Style/MutableConstant:
|
Style/MutableConstant:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
Style/NumericPredicate:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Style/SpaceInsideHashLiteralBraces:
|
Style/SpaceInsideHashLiteralBraces:
|
||||||
EnforcedStyle: no_space
|
EnforcedStyle: no_space
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue