update rubocop.yml
* ignore bin folder (generated files) * allow same length for modules as for classes closes #6635
This commit is contained in:
parent
e99ecd259c
commit
96677c14d1
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
AllCops:
|
||||
RunRailsCops: true
|
||||
Exclude:
|
||||
- 'db/schema.rb'
|
||||
- "bin/**/*"
|
||||
- "db/schema.rb"
|
||||
|
||||
# Commonly used screens these days easily fit more than 80 characters.
|
||||
Metrics/LineLength:
|
||||
|
|
@ -15,6 +16,8 @@ Metrics/MethodLength:
|
|||
# The guiding principle of classes is SRP, SRP can't be accurately measured by LoC
|
||||
Metrics/ClassLength:
|
||||
Max: 1500
|
||||
Metrics/ModuleLength:
|
||||
Max: 1500
|
||||
|
||||
# Raise AbcSize from 15 to 20
|
||||
Metrics/AbcSize:
|
||||
|
|
|
|||
Loading…
Reference in a new issue