Commit 96677c14 authored by Benjamin Neff's avatar Benjamin Neff Committed by Jonne Haß
Browse files

update rubocop.yml

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

closes #6635
parent e99ecd25
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
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: