forked from dzikoysk/reposilite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetekt.yml
78 lines (72 loc) · 1.31 KB
/
detekt.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
complexity:
active: true
TooManyFunctions:
active: false
ComplexMethod:
threshold: 15
LongParameterList:
functionThreshold: 15
constructorThreshold: 15
ComplexCondition:
threshold: 15
formatting:
active: true
Indentation:
active: true
indentSize: 4
MaximumLineLength:
active: false
NoBlankLineBeforeRbrace:
active: false
ParameterListWrapping:
active: false
Wrapping:
active: false
SpacingAroundParens:
active: false
ImportOrdering:
active: false
Filename:
active: false
style:
active: true
MaxLineLength:
active: false
UnnecessaryAbstractClass:
active: false
MagicNumber:
active: false
ForbiddenComment:
active: true
values:
- 'FIXME:'
UnusedPrivateMember:
active: false
ReturnCount:
max: 5
ThrowsCount:
active: true
max: 3
exceptions:
active: true
SwallowedException:
active: false
TooGenericExceptionCaught:
active: false
TooGenericExceptionThrown:
active: false
naming:
active: true
ConstructorParameterNaming:
privateParameterPattern: "[_a-z][A-Za-z0-9]*"
MatchingDeclarationName:
active: false
empty-blocks:
active: true
EmptyFunctionBlock:
active: true
ignoreOverridden: true
performance:
active: true
SpreadOperator:
active: false