forked from JetBrains/Exposed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detekt.yml
42 lines (38 loc) · 925 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
# https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
build:
maxIssues: 52
formatting:
MaximumLineLength:
maxLineLength: 150
MultiLineIfElse:
active: true
autoCorrect: true
ParameterListWrapping:
active: true
autoCorrect: true
indentSize: 4
NoWildcardImports:
active: false
NoMultipleSpaces:
active: true
autoCorrect: false
style:
MaxLineLength:
active: false
maxLineLength: 150
ReturnCount:
active: false
WildcardImport:
active: false
MagicNumber:
ignoreRanges: true
complexity:
LongParameterList:
functionThreshold: 8
constructorThreshold: 8
ComplexCondition:
threshold: 6
TooManyFunctions:
thresholdInClasses: 40
thresholdInFiles: 100
thresholdInObjects: 25