diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2016-01-10 23:55:45 +0300 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2016-01-12 18:08:27 +0300 |
commit | 96677c14d1d4ac6d6765f4d010ead00e75cc9189 (patch) | |
tree | 81ef0ef3576c4844d6c4ca330831ac59ef30cd2f /.rubocop.yml | |
parent | e99ecd259caf8a43bd87913fd82f86f3be284afa (diff) |
update rubocop.yml
* ignore bin folder (generated files)
* allow same length for modules as for classes
closes #6635
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index a2895b1d7..8cced7682 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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: |