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:
|
||||
- lib/jekyll/renderer.rb
|
||||
- bin/**/*
|
||||
- exe/**/*
|
||||
- benchmark/**/*
|
||||
- script/**/*
|
||||
- vendor/**/*
|
||||
|
@ -17,6 +18,10 @@ Lint/UselessAccessModifier:
|
|||
Enabled: false
|
||||
Metrics/AbcSize:
|
||||
Max: 21
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- test/**/*.rb
|
||||
- lib/jekyll/configuration.rb
|
||||
Metrics/ClassLength:
|
||||
Exclude:
|
||||
- !ruby/regexp /features\/.*.rb$/
|
||||
|
|
Loading…
Reference in New Issue