lib/wcc/defaults.reek in danger-wcc-0.0.4 vs lib/wcc/defaults.reek in danger-wcc-0.0.5
- old
+ new
@@ -21,14 +21,14 @@
exclude: []
max_calls: 2
allow_calls: []
FeatureEnvy:
enabled: true
- exclude: []
+ exclude: ["Helper"]
InstanceVariableAssumption:
enabled: true
- exclude: []
+ exclude: ["Controller"]
IrresponsibleModule:
enabled: false
exclude: []
LongParameterList:
enabled: true
@@ -52,11 +52,11 @@
exclude: []
max_allowed_nesting: 1
ignore_iterators:
- tap
NilCheck:
- enabled: true
+ enabled: false
exclude: []
PrimaDonnaMethod:
enabled: true
exclude: []
RepeatedConditional:
@@ -68,19 +68,19 @@
exclude: []
Syntax:
enabled: true
exclude: []
TooManyConstants:
- enabled: false
+ enabled: true
exclude: []
max_constants: 5
TooManyInstanceVariables:
- enabled: false
+ enabled: true
exclude: []
max_instance_variables: 5
TooManyMethods:
- enabled: false
+ enabled: true
exclude: []
max_methods: 15
TooManyStatements:
enabled: false
exclude:
@@ -125,7 +125,7 @@
UnusedPrivateMethod:
enabled: false
exclude: []
UtilityFunction:
enabled: true
- exclude: []
- public_methods_only: false
+ exclude: ["Helper", "util"]
+ public_methods_only: true