forked from Ruby-IF081/heroes_team_app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.reek
47 lines (47 loc) · 927 Bytes
/
config.reek
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
"app/controllers":
DuplicateMethodCall:
max_calls: 2
TooManyMethods:
max_methods: 16
TooManyStatements:
max_statements: 20
NestedIterators:
max_allowed_nesting: 2
UnusedPrivateMethod:
enabled: false
InstanceVariableAssumption:
enabled: false
NilCheck:
enabled: false
PrimaDonnaMethod:
enabled: false
"app/libs":
TooManyStatements:
max_statements: 10
NestedIterators:
max_allowed_nesting: 2
"app/helpers":
UtilityFunction:
enabled: false
"app/mailers":
InstanceVariableAssumption:
enabled: false
"spec/mailers/previews":
UtilityFunction:
enabled: false
IrresponsibleModule:
enabled: false
exclude_paths:
- db/migrate
- vendor
- app/workers
UtilityFunction:
public_methods_only: true
TooManyConstants:
max_constants: 17
UncommunicativeVariableName:
accept:
- !ruby/regexp /q/
UncommunicativeMethodName:
accept:
- google_oauth2