forked from JetBrains/Exposed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetekt.yml
49 lines (44 loc) · 1.04 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
# https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
build:
maxIssues: 52
formatting:
MaximumLineLength:
maxLineLength: 166
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: 166
ReturnCount:
active: false
WildcardImport:
active: false
MagicNumber:
ignoreNamedArgument: true
ignoreRanges: true
complexity:
LongParameterList:
functionThreshold: 8
constructorThreshold: 8
ComplexCondition:
threshold: 6
TooManyFunctions:
thresholdInClasses: 40
thresholdInFiles: 100
thresholdInObjects: 26
ComplexMethod:
threshold: 26
naming:
ConstructorParameterNaming:
active: false