From 575e3cae7a84fe41e8bbc9ee16951473a1ec6da0 Mon Sep 17 00:00:00 2001 From: Justin Li Date: Mon, 6 Jul 2015 15:52:11 -0400 Subject: [PATCH] Remove class length metric cop --- .rubocop.yml | 6 +++--- .rubocop_todo.yml | 10 ---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 845c88a..839fdff 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,6 +13,9 @@ Metrics/BlockNesting: Metrics/ModuleLength: Enabled: false +Metrics/ClassLength: + Enabled: false + Lint/AssignmentInCondition: Enabled: false @@ -118,6 +121,3 @@ Style/PerlBackrefs: Style/WordArray: Enabled: false -Style/ModuleLength: - Exclude: - - lib/liquid/standardfilters.rb diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2598bf9..02bb779 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -13,11 +13,6 @@ Lint/NestedMethodDefinition: Metrics/AbcSize: Max: 58 -# Offense count: 16 -# Configuration parameters: CountComments. -Metrics/ClassLength: - Max: 314 - # Offense count: 12 Metrics/CyclomaticComplexity: Max: 15 @@ -32,11 +27,6 @@ Metrics/LineLength: Metrics/MethodLength: Max: 46 -# Offense count: 1 -# Configuration parameters: CountComments. -Metrics/ModuleLength: - Max: 235 - # Offense count: 6 Metrics/PerceivedComplexity: Max: 13