/
.reek.yml
81 lines (79 loc) · 1.46 KB
/
.reek.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
detectors:
Attribute:
enabled: false
NilCheck:
enabled: false
DuplicateMethodCall:
max_calls: 2
IrresponsibleModule:
enabled: false
TooManyMethods:
max_methods: 20
MissingSafeMethod:
enabled: false
TooManyConstants:
max_constants: 6
TooManyStatements:
max_statements: 10
exclude:
- 'Abilities'
LongParameterList:
max_params: 6
DataClump:
min_clump_size: 3
UncommunicativeVariableName:
accept:
- e
directories:
"app/models/abilities":
ControlParameter:
enabled: false
UtilityFunction:
enabled: false
"app/helpers":
UtilityFunction:
enabled: false
FeatureEnvy:
enabled: false
ControlParameter:
enabled: false
"app/jobs":
UtilityFunction:
enabled: false
"app/services":
UtilityFunction:
enabled: false
"app/controllers":
IrresponsibleModule:
enabled: false
NestedIterators:
max_allowed_nesting: 2
UnusedPrivateMethod:
enabled: false
InstanceVariableAssumption:
enabled: false
"app/mailers":
InstanceVariableAssumption:
enabled: false
FeatureEnvy:
enabled: false
"db/seed_data":
UtilityFunction:
enabled: false
"app/components":
TooManyInstanceVariables:
enabled: false
BooleanParameter:
enabled: false
FeatureEnvy:
enabled: false
exclude_paths:
- tmp
- spec
- vendor
- log
- coverage
- config
- bin
- db/migrate