fix rubocop errors on testing with Rubocop 0.44
- have the new `Metrics/BlockLength` cop ignore test files and
`jekyll/configuration.rb`
- have `AllCops` ignore Jekyll Executable which is not going to be
altered in the near future.
This commit is contained in:
parent
c9d24b7d18
commit
d1f67bf85a
|
|
@ -6,6 +6,7 @@ AllCops:
|
||||||
Exclude:
|
Exclude:
|
||||||
- lib/jekyll/renderer.rb
|
- lib/jekyll/renderer.rb
|
||||||
- bin/**/*
|
- bin/**/*
|
||||||
|
- exe/**/*
|
||||||
- benchmark/**/*
|
- benchmark/**/*
|
||||||
- script/**/*
|
- script/**/*
|
||||||
- vendor/**/*
|
- vendor/**/*
|
||||||
|
|
@ -17,6 +18,10 @@ Lint/UselessAccessModifier:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
Max: 21
|
Max: 21
|
||||||
|
Metrics/BlockLength:
|
||||||
|
Exclude:
|
||||||
|
- test/**/*.rb
|
||||||
|
- lib/jekyll/configuration.rb
|
||||||
Metrics/ClassLength:
|
Metrics/ClassLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- !ruby/regexp /features\/.*.rb$/
|
- !ruby/regexp /features\/.*.rb$/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue