exclude rake tasks and gemspec from metrics
exclude from BlockLength and LineLength metrics
This commit is contained in:
parent
5d52074d2d
commit
39b7af3732
|
|
@ -22,6 +22,8 @@ Metrics/BlockLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- test/**/*.rb
|
- test/**/*.rb
|
||||||
- lib/jekyll/configuration.rb
|
- lib/jekyll/configuration.rb
|
||||||
|
- rake/*.rake
|
||||||
|
- jekyll.gemspec
|
||||||
Metrics/ClassLength:
|
Metrics/ClassLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- !ruby/regexp /features\/.*.rb$/
|
- !ruby/regexp /features\/.*.rb$/
|
||||||
|
|
@ -32,6 +34,8 @@ Metrics/CyclomaticComplexity:
|
||||||
Metrics/LineLength:
|
Metrics/LineLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- !ruby/regexp /features\/.*.rb/
|
- !ruby/regexp /features\/.*.rb/
|
||||||
|
- Rakefile
|
||||||
|
- rake/*.rake
|
||||||
Max: 90
|
Max: 90
|
||||||
Severity: warning
|
Severity: warning
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue