-
Notifications
You must be signed in to change notification settings - Fork 138
/
detekt.yml
116 lines (109 loc) · 1.99 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
exceptions:
active: true
SwallowedException:
active: true
TooGenericExceptionCaught:
active: true
ThrowingExceptionsWithoutMessageOrCause:
active: true
TooGenericExceptionThrown:
active: true
style:
NewLineAtEndOfFile:
active: true
MaxLineLength:
active: true
MagicNumber:
active: true
UnusedPrivateMember:
active: true
WildcardImport:
active: true
ReturnCount:
active: true
UnnecessaryAbstractClass:
active: true
ThrowsCount:
active: true
ForbiddenComment:
active: true
potential-bugs:
ImplicitDefaultLocale:
active: true
performance:
SpreadOperator:
active: true
ArrayPrimitive:
active: true
formatting:
PackageName:
active: true
Indentation:
active: true
ImportOrdering:
active: true
FinalNewline:
active: true
MaximumLineLength:
active: true
NoWildcardImports:
active: true
ParameterListWrapping:
active: true
SpacingAroundOperators:
active: true
StringTemplate:
active: true
NoConsecutiveBlankLines:
active: true
NoUnusedImports:
active: true
CommentSpacing:
active: true
NoTrailingSpaces:
active: true
NoMultipleSpaces:
active: true
Filename:
active: true
NoBlankLineBeforeRbrace:
active: true
SpacingAroundColon:
active: true
TooGenericExceptionThrown:
active: true
EmptyFunctionBlock:
active: true
naming:
PackageNaming:
active: true
VariableMaxLength:
maximumVariableNameLength: 64
FunctionNaming:
ignoreAnnotated: [ 'Composable' ]
VariableNaming:
active: true
MatchingDeclarationName:
active: true
empty-blocks:
EmptyCatchBlock:
active: true
EmptyFunctionBlock:
active: true
EmptyElseBlock:
active: true
complexity:
TooManyFunctions:
active: true
ComplexMethod:
active: true
LongMethod:
active: true
ComplexCondition:
active: true
LargeClass:
active: true
NestedBlockDepth:
active: true
LongParameterList:
active: true