update rubocop.yml

* ignore bin folder (generated files)
* allow same length for modules as for classes

closes #6635
This commit is contained in:
Benjamin Neff 2016-01-10 21:55:45 +01:00 committed by Jonne Haß
parent e99ecd259c
commit 96677c14d1

View file

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