-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdetekt.yml
More file actions
39 lines (28 loc) · 621 Bytes
/
detekt.yml
File metadata and controls
39 lines (28 loc) · 621 Bytes
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
# Naming rules
naming:
ConstructorParameterNaming:
active: false
VariableNaming:
active: false
FunctionNaming:
active: true
ignoreAnnotated: ['Composable']
TopLevelPropertyNaming:
active: true
constantPattern: '[A-Z][A-Za-z0-9]*'
# Style rules
style:
ForbiddenComment:
active: false
ReturnCount:
excludeGuardClauses: true
MagicNumber:
active: true
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
# Complexity rules
complexity:
TooManyFunctions:
ignorePrivate: true
LongMethod:
ignoreAnnotated: ['Composable']