-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdetekt.yml
53 lines (48 loc) · 1.02 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
# Default detekt configuration:
# https://github.com/detekt/detekt/blob/master/detekt-core/src/main/resources/default-detekt-config.yml
build:
maxIssues: 6 #todo: zero out
formatting:
Indentation:
active: false
CommentSpacing:
active: false
NoWildcardImports:
active: false
ChainWrapping:
active: false
Wrapping:
active: false
ArgumentListWrapping:
active: false
MultiLineIfElse:
active: false
AnnotationOnSeparateLine:
active: false
style:
MagicNumber:
active: false
ForbiddenComment:
active: false
ReturnCount:
active: false
WildcardImport:
active: false
MaxLineLength:
excludes: [ '**/test/**' ]
exceptions:
TooGenericExceptionCaught:
active: false
TooGenericExceptionThrown:
excludes: [ '**/test/**' ]
complexity:
NestedBlockDepth:
threshold: 5
TooManyFunctions:
thresholdInClasses: 15
thresholdInObjects: 15
LongParameterList:
functionThreshold: 10
constructorThreshold: 10
LongMethod:
excludes: [ '**/test/**' ]