-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.reek
43 lines (42 loc) · 779 Bytes
/
.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
### Excluding directories
# Directories below will not be scanned at all
exclude_paths:
- vendor
DuplicateMethodCall:
enabled: true
exclude: []
max_calls: 3
allow_calls: []
LongParameterList:
enabled: true
exclude: []
max_params: 5
overrides:
initialize:
max_params: 5
TooManyConstants:
enabled: true
exclude: []
max_constants: 7
TooManyInstanceVariables:
enabled: true
exclude: []
max_instance_variables: 7
TooManyMethods:
enabled: true
exclude: []
max_methods: 25
TooManyStatements:
enabled: true
exclude:
- initialize
max_statements: 10
UncommunicativeVariableName:
enabled: true
exclude: []
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
accept:
- !ruby/regexp /^[eijxyz_]$/