Update rubocop linting rules

This commit is contained in:
Glenn Y. Rolland 2019-12-21 20:27:54 +01:00
parent c6c2e90e7f
commit 5a16bfd588
2 changed files with 7 additions and 1 deletions

View file

@ -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: