From d1f67bf85ad2302cc4f750f2ba260f0047eae462 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Mon, 17 Oct 2016 08:56:04 +0530 Subject: [PATCH] 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. --- .rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index b0fef47a..0324c412 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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$/