Permalink
Browse files

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.
  • Loading branch information...
1 parent c9d24b7 commit d1f67bf85ad2302cc4f750f2ba260f0047eae462 @ashmaroli ashmaroli committed Oct 17, 2016
Showing with 5 additions and 0 deletions.
  1. +5 −0 .rubocop.yml
View
@@ -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$/

0 comments on commit d1f67bf

Please sign in to comment.