-
Notifications
You must be signed in to change notification settings - Fork 0
/
.reek.yml
44 lines (40 loc) · 781 Bytes
/
.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
# reek5 config
### Excluding directories
# Directories below will not be scanned at all
exclude_paths:
- vendor
- spec
detectors:
DuplicateMethodCall:
# exclude: []
max_calls: 3
# allow_calls: []
LongParameterList:
# exclude: []
max_params: 5
# overrides:
# initialize:
# max_params: 5
TooManyConstants:
# exclude: []
max_constants: 7
TooManyInstanceVariables:
# exclude: []
max_instance_variables: 7
TooManyMethods:
# exclude: []
max_methods: 25
TooManyStatements:
# exclude:
# - initialize
max_statements: 10
UncommunicativeParameterName:
accept:
- "/^[abceijnmtxyz_]$/"
UncommunicativeVariableName:
accept:
- "/^[abceijnmtxyz_]$/"
# reject:
# - "/^.$/"
# - "/[0-9]$/"
# - "/[A-Z]/"