mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 08:29:53 +01:00
Disable Metrics/*Length
and AbcSize
cops
This commit is contained in:
parent
ac05489329
commit
ace3df932a
1 changed files with 5 additions and 19 deletions
24
.rubocop.yml
24
.rubocop.yml
|
@ -31,39 +31,25 @@ Lint/NestedMethodDefinition:
|
|||
### Metrics
|
||||
|
||||
Metrics/AbcSize:
|
||||
Max: 20
|
||||
Exclude:
|
||||
- 'db/**/*'
|
||||
Enabled: false
|
||||
|
||||
Layout/LineLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/MethodLength:
|
||||
Max: 15
|
||||
Exclude:
|
||||
- 'db/migrate/*.rb'
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- '*.gemspec'
|
||||
- '**/*.rake'
|
||||
- 'api/**/*'
|
||||
- 'app/api/routes.rb'
|
||||
- 'config/initialize/**/*'
|
||||
- 'config/initializers/**/*'
|
||||
- 'spec/**/*'
|
||||
Enabled: false
|
||||
|
||||
Metrics/ClassLength:
|
||||
Exclude:
|
||||
- spec/**/*
|
||||
Enabled: false
|
||||
|
||||
Metrics/CyclomaticComplexity:
|
||||
Severity: refactor
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Exclude:
|
||||
- 'app/api/routes.rb'
|
||||
- 'spec/requests/**/*'
|
||||
Enabled: false
|
||||
|
||||
|
||||
### Style / Layout
|
||||
|
|
Loading…
Reference in a new issue