forked from kf8a/linters
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.defaults.reek
More file actions
40 lines (40 loc) · 793 Bytes
/
.defaults.reek
File metadata and controls
40 lines (40 loc) · 793 Bytes
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
---
TooManyStatements:
max_statements: 10
UncommunicativeMethodName:
reject:
- !ruby/regexp /^[a-z]$/
- !ruby/regexp /[0-9]$/
UncommunicativeParameterName:
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /^_/
UncommunicativeVariableName:
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
UtilityFunction:
enabled: false
LongParameterList:
enabled: false
DuplicateMethodCall:
max_calls: 2
IrresponsibleModule:
enabled: false
NestedIterators:
max_allowed_nesting: 2
PrimaDonnaMethod:
enabled: false
UnusedParameters:
enabled: false
FeatureEnvy:
enabled: false
ControlParameter:
enabled: false
UnusedPrivateMethod:
enabled: false
InstanceVariableAssumption:
exclude:
- !ruby/regexp /Controller$/
- !ruby/regexp /Mailer$/