-
Notifications
You must be signed in to change notification settings - Fork 4
/
detekt.yml
57 lines (53 loc) · 1.15 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
54
55
56
57
complexity:
CyclomaticComplexMethod:
threshold: 20
LongMethod:
active: true
threshold: 80
LongParameterList:
active: true
functionThreshold: 15
constructorThreshold: 11
ignoreDefaultParameters: true
TooManyFunctions:
active: false
formatting:
ChainWrapping:
active: false
CommentWrapping:
active: false
ImportOrdering:
active: false
Indentation:
active: false
MaximumLineLength:
active: false
NoWildcardImports:
active: false
naming:
FunctionNaming:
active: true
ignoreAnnotated: ['Composable']
InvalidPackageDeclaration:
active: false
MatchingDeclarationName:
active: false
style:
ForbiddenComment:
active: false
MagicNumber:
active: true
ignoreAnnotated: ['Composable', 'Preview']
UnusedPrivateMember:
active: true
ignoreAnnotated: ['Preview']
WildcardImport:
excludeImports:
- 'androidx.compose.material.icons.automirrored.filled.*'
- 'androidx.compose.material.icons.filled.*'
- 'org.ossreviewtoolkit.workbench.ort_workbench.generated.resources.*'
ORT:
OrtImportOrder:
active: true
OrtPackageNaming:
active: false