-
Notifications
You must be signed in to change notification settings - Fork 37
/
detekt.yml
40 lines (35 loc) · 979 Bytes
/
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
# Default Config: https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
# Formatting Config: https://github.com/detekt/detekt/blob/main/detekt-formatting/src/main/resources/config/config.yml
config:
warningsAsErrors: true
complexity:
LongParameterList:
ignoreDefaultParameters: true
ignoreAnnotated: ['Inject', 'Composable']
TooManyFunctions:
active: false
LongMethod:
ignoreAnnotated: ['Composable']
coroutines:
GlobalCoroutineUsage:
active: true
style:
DataClassShouldBeImmutable:
active: true
ignoreAnnotated: ['Table']
MagicNumber:
ignoreEnums: true
ignorePropertyDeclaration: true
ignoreAnnotated: ['Composable']
SpacingBetweenPackageAndImports:
active: true
UnusedImports:
active: true
WildcardImport:
active: true
ForbiddenSuppress:
active: true
rules: ['MaximumLineLength']
naming:
FunctionNaming:
ignoreAnnotated: [ 'Composable' ]