-
Notifications
You must be signed in to change notification settings - Fork 0
/
.reek.yml
53 lines (45 loc) · 1.35 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
---
# References:
# https://github.com/troessner/reek#configuration-options
detectors:
# https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md
IrresponsibleModule:
enabled: false
# https://github.com/troessner/reek/blob/master/docs/Nil-Check.md
NilCheck:
enabled: false
# https://github.com/troessner/reek/blob/master/docs/Too-Many-Statements.md
TooManyStatements:
enabled: false # Rubocop's responsibility
directories:
"app/controllers":
# https://github.com/troessner/reek/blob/master/docs/Nested-Iterators.md
NestedIterators:
max_allowed_nesting: 2
# https://github.com/troessner/reek/blob/master/docs/Unused-Private-Method.md
UnusedPrivateMethod:
enabled: false
# https://github.com/troessner/reek/blob/master/docs/Instance-Variable-Assumption.md
InstanceVariableAssumption:
enabled: false
"app/controllers/api/v1/**":
UncommunicativeModuleName:
enabled: false
"app/helpers":
# https://github.com/troessner/reek/blob/master/docs/Utility-Function.md
UtilityFunction:
enabled: false
"app/mailers":
# https://github.com/troessner/reek/blob/master/docs/Instance-Variable-Assumption.md
InstanceVariableAssumption:
enabled: false
exclude_paths:
- bin
- coverage
- node_modules
- public
- spec
- storage
- tmp
- vendor
- db