Ignore BlockLength for schema, spec and config
This commit is contained in:
parent
46b4f27b5e
commit
c0839bb89e
|
|
@ -30,3 +30,11 @@ Metrics/AbcSize:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "db/migrate/*"
|
- "db/migrate/*"
|
||||||
Max: 20
|
Max: 20
|
||||||
|
|
||||||
|
Metrics/BlockLength:
|
||||||
|
ExcludedMethods:
|
||||||
|
- "namespace"
|
||||||
|
- "create_table"
|
||||||
|
Exclude:
|
||||||
|
- "config/**/*.rb"
|
||||||
|
- "spec/**/*.rb"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue