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