-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.detekt.yml
47 lines (43 loc) · 964 Bytes
/
.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
comments:
AbsentOrWrongFileLicense:
active: false
complexity:
CyclomaticComplexMethod:
threshold: 40
LongMethod:
threshold: 120
NestedBlockDepth:
threshold: 6
# Formatting rules are implemented via the ktlint plugin. As ktlint does not allow exceptions, we need to disable
# respective rules completely.
formatting:
ImportOrdering:
active: false
Indentation:
active: false
MaximumLineLength:
active: false
NoWildcardImports:
active: false
ParameterListWrapping:
active: 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.*