Remove class length metric cop

This commit is contained in:
Justin Li
2015-07-06 15:52:11 -04:00
parent 8cb2364179
commit 575e3cae7a
2 changed files with 3 additions and 13 deletions

View File

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

View File

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