-
Notifications
You must be signed in to change notification settings - Fork 0
/
detekt-config.yml
46 lines (43 loc) · 1.09 KB
/
detekt-config.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
complexity:
LongMethod:
threshold: 100
ignoreAnnotated: [ 'Composable' ]
ComplexMethod:
ignoreAnnotated: [ 'Composable' ]
LongParameterList:
active: false
TooManyFunctions:
active: false
ComplexCondition:
threshold: 7
performance:
SpreadOperator:
active: false
style:
MagicNumber:
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
ignoreAnnotated: [ 'AllowMagicNumber' ]
ForbiddenComment:
active: false
UnusedPrivateMember:
ignoreAnnotated: [ 'preview' ]
ThrowsCount:
active: false
ReturnCount:
active: false
LoopWithTooManyJumpStatements:
active: false
DestructuringDeclarationWithTooManyEntries:
active: false
MaxLineLength:
excludeCommentStatements: true
naming:
TopLevelPropertyNaming:
constantPattern: '[A-Z][A-Za-z0-9_]*'
FunctionNaming:
ignoreAnnotated: [ 'Composable' ]
MatchingDeclarationName:
active: false
VariableNaming:
active: false