forked from ChuckerTeam/chucker
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdetekt-config.yml
More file actions
55 lines (52 loc) · 1.17 KB
/
detekt-config.yml
File metadata and controls
55 lines (52 loc) · 1.17 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
53
54
55
build:
maxIssues: 0
weights:
# complexity: 2
# LongParameterList: 1
# style: 1
# comments: 1
naming:
FunctionNaming:
active: true
ignoreAnnotated: ['Composable']
TopLevelPropertyNaming:
active: true
constantPattern: '[A-Z][_A-Z0-9]*|[A-Z][A-Za-z0-9]*'
complexity:
active: true
CyclomaticComplexMethod:
active: true
threshold: 16
ComplexCondition:
active: true
threshold: 5
LongMethod:
active: true
excludes: ['**/test/**', '**/androidTest/**']
ignoreAnnotated: ['Composable', 'Preview']
LongParameterList:
active: true
ignoreDefaultParameters: true
functionThreshold: 11
constructorThreshold: 11
TooManyFunctions:
thresholdInClasses: 13
active: true
ignoreOverridden: true
ignoreAnnotatedFunctions: ['Preview']
style:
ReturnCount:
active: true
max: 5
excludedFunctions: ["equals"]
excludeLabeled: false
excludeReturnFromLambda: true
UnusedImports:
active: true
MagicNumber:
active: true
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
UnusedPrivateMember:
active: true
ignoreAnnotated: [ 'Preview' ]