-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetekt.yml
More file actions
52 lines (49 loc) · 1.1 KB
/
Copy pathdetekt.yml
File metadata and controls
52 lines (49 loc) · 1.1 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
complexity:
LongMethod:
allowedLines: 80
LongParameterList:
allowedFunctionParameters: 8
allowedConstructorParameters: 10
TooManyFunctions:
allowedFunctionsPerClass: 15
allowedFunctionsPerFile: 15
CyclomaticComplexMethod:
allowedComplexity: 20
NestedBlockDepth:
allowedDepth: 5
exceptions:
TooGenericExceptionCaught:
active: false
style:
ReturnCount:
max: 3
MagicNumber:
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
ignoreAnnotation: true
ignoreEnums: true
ignoreNamedArgument: true
ignoreLocalVariableDeclaration: true
ignoreNumbers:
- '-1'
- '0'
- '1'
- '2'
MaxLineLength:
maxLineLength: 140
WildcardImport:
active: true
ktlint:
MaximumLineLength:
maxLineLength: 140
ArgumentListWrapping:
maxLineLength: 140
TrailingCommaOnCallSite:
active: true
useTrailingCommaOnCallSite: true
TrailingCommaOnDeclarationSite:
active: true
useTrailingCommaOnDeclarationSite: true
ImportOrdering:
active: true
layout: '*,java.**,javax.**,kotlin.**,^'