-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.detekt.yml
More file actions
59 lines (55 loc) · 1.24 KB
/
.detekt.yml
File metadata and controls
59 lines (55 loc) · 1.24 KB
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
comments:
AbsentOrWrongFileLicense:
active: false
complexity:
CyclomaticComplexMethod:
allowedComplexity: 40
LongMethod:
allowedLines: 120
NestedBlockDepth:
allowedDepth: 6
# Formatting rules are implemented via the ktlint plugin. As ktlint does not allow exceptions, we need to disable
# respective rules completely.
ktlint:
ChainMethodContinuation:
active: false
ClassSignature:
active: false
ImportOrdering:
active: false
Indentation:
active: false
MaximumLineLength:
active: false
NoBlankLineInList:
active: false
NoWildcardImports:
active: false
ParameterListWrapping:
active: false
TrailingCommaOnCallSite:
active: true
useTrailingCommaOnCallSite: false
TrailingCommaOnDeclarationSite:
active: true
useTrailingCommaOnDeclarationSite: false
naming:
InvalidPackageDeclaration:
active: false
style:
DestructuringDeclarationWithTooManyEntries:
maxDestructuringEntries: 5
ForbiddenComment:
active: false
LoopWithTooManyJumpStatements:
maxJumpCount: 2
MagicNumber:
active: false
ReturnCount:
max: 10
ThrowsCount:
max: 4
WildcardImport:
excludeImports:
- dev.schuberth.stan.exporters.*
- dev.schuberth.stan.parsers.*