config/reek.yml in mbj-assets-0.0.5 vs config/reek.yml in mbj-assets-0.0.6
- old
+ new
@@ -6,11 +6,11 @@
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
TooManyMethods:
- max_methods: 10
+ max_methods: 10
exclude: []
enabled: true
max_instance_variables: 3
UncommunicativeMethodName:
accept:
@@ -20,17 +20,18 @@
reject:
- !ruby/regexp /^[a-z]$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
LongParameterList:
- max_params: 2
+ max_params: 2
exclude: []
enabled: true
overrides: {}
FeatureEnvy:
exclude:
- Assets::Environment::Cache#miss # False positive
+ - Assets::Rule#binary # False positive
enabled: true
ClassVariable:
exclude: []
enabled: true
BooleanParameter:
@@ -50,21 +51,22 @@
ignore_iterators: []
exclude: []
enabled: true
max_allowed_nesting: 1
TooManyStatements:
- max_statements: 8
+ max_statements: 8
exclude: []
enabled: true
DuplicateMethodCall:
allow_calls: []
exclude: []
enabled: true
- max_calls: 1
+ max_calls: 1
UtilityFunction:
- max_helper_calls: 0
- exclude: []
+ max_helper_calls: 0
+ exclude:
+ - Assets::Rule#binary # Okay
enabled: true
Attribute:
exclude: []
enabled: false
UncommunicativeVariableName:
@@ -76,15 +78,15 @@
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
RepeatedConditional:
exclude: []
enabled: true
- max_ifs: 1
+ max_ifs: 1
DataClump:
exclude: []
enabled: true
- max_copies: 2
- min_clump_size: 2
+ max_copies: 2
+ min_clump_size: 2
ControlParameter:
exclude: []
enabled: true
LongYieldList:
max_params: 1