exclude rake tasks and gemspec from metrics

exclude from BlockLength and LineLength metrics
This commit is contained in:
Frank Taillandier 2017-01-14 20:05:11 +01:00
parent 5d52074d2d
commit 39b7af3732
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@ Metrics/BlockLength:
Exclude:
- test/**/*.rb
- lib/jekyll/configuration.rb
- rake/*.rake
- jekyll.gemspec
Metrics/ClassLength:
Exclude:
- !ruby/regexp /features\/.*.rb$/
@ -32,6 +34,8 @@ Metrics/CyclomaticComplexity:
Metrics/LineLength:
Exclude:
- !ruby/regexp /features\/.*.rb/
- Rakefile
- rake/*.rake
Max: 90
Severity: warning
Metrics/MethodLength: