Update rubocop linting rules
This commit is contained in:
parent
c6c2e90e7f
commit
5a16bfd588
2 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,8 @@ require: rubocop-rspec
|
||||||
## TEMPORARILY disabled
|
## TEMPORARILY disabled
|
||||||
##
|
##
|
||||||
|
|
||||||
|
AllCops:
|
||||||
|
TargetRubyVersion: 2.5
|
||||||
|
|
||||||
##
|
##
|
||||||
## LOCAL PREFERENCES
|
## LOCAL PREFERENCES
|
||||||
|
@ -13,9 +15,13 @@ RSpec/ExampleLength:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Max: 10
|
Max: 10
|
||||||
|
|
||||||
|
Metrics/MethodLength:
|
||||||
|
Enabled: true
|
||||||
|
Max: 10
|
||||||
|
|
||||||
Metrics/BlockLength:
|
Metrics/BlockLength:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Exclude:
|
Exclude:
|
||||||
- spec/**/*
|
- spec/**/*
|
||||||
|
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
|
|
Loading…
Reference in a new issue