config/reek.yml in hatetepe-0.6.0.pre vs config/reek.yml in hatetepe-0.6.0.pre.1
- old
+ new
@@ -1,8 +1,8 @@
---
Attribute:
- enabled: true
+ enabled: false
exclude: []
BooleanParameter:
enabled: true
exclude: []
ClassVariable:
@@ -17,33 +17,33 @@
max_copies: 2
min_clump_size: 2
DuplicateMethodCall:
enabled: true
exclude: []
- max_calls: 1
+ max_calls: 2
allow_calls: []
FeatureEnvy:
- enabled: true
+ enabled: false
exclude: []
IrresponsibleModule:
- enabled: true
+ enabled: false
exclude: []
LongParameterList:
enabled: true
exclude: []
max_params: 2
overrides:
initialize:
- max_params: 3
+ max_params: 4
LongYieldList:
enabled: true
exclude: []
max_params: 2
NestedIterators:
enabled: true
exclude: []
- max_allowed_nesting: 1
+ max_allowed_nesting: 2
ignore_iterators: []
NilCheck:
enabled: true
exclude: []
RepeatedConditional:
@@ -51,20 +51,20 @@
exclude: []
max_ifs: 1
TooManyInstanceVariables:
enabled: true
exclude: []
- max_instance_variables: 3
+ max_instance_variables: 4
TooManyMethods:
enabled: true
exclude: []
max_methods: 10
TooManyStatements:
enabled: true
exclude:
- each
- max_statements: 2
+ max_statements: 5
UncommunicativeMethodName:
enabled: true
exclude: []
reject:
- !ruby/regexp /^[a-z]$/
@@ -83,21 +83,25 @@
exclude: []
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
- accept: []
+ accept:
+ - _
UncommunicativeVariableName:
enabled: true
exclude: []
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
- accept: []
+ accept:
+ - a
+ - e
+ - _
UnusedParameters:
enabled: true
exclude: []
UtilityFunction:
- enabled: true
+ enabled: false
exclude: []
max_helper_calls: 0