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:
Ashwin Maroli 2016-10-17 08:56:04 +05:30
parent c9d24b7d18
commit d1f67bf85a
1 changed files with 5 additions and 0 deletions

View File

@ -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$/