forked from bumble-tech/appyx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetekt.yml
29 lines (26 loc) · 973 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
config:
warningsAsErrors: true
complexity:
LongParameterList:
# It is suggested to increase this for Compose: https://detekt.dev/docs/introduction/compose/#longparameterlist
functionThreshold: 8
ignoreDefaultParameters: true
naming:
active: true
FunctionNaming:
active: true
ignoreAnnotated: [ 'Composable' ]
style:
ForbiddenComment:
allowedPatterns: 'https://github.com/bumble-tech/appyx/issues/*'
MagicNumber:
excludes: [ '**/test/**', '**/*Test.kt', '**/demos/**', '**/androidTest/**', '**/commonTest/**', '**/desktopTest/**' , '**/jsTest/**' ]
MaxLineLength:
excludes: [ '**/test/**', '**/*.Test.kt', '**/*.Spec.kt', '**/androidTest/**', '**/commonTest/**', '**/desktopTest/**' , '**/jsTest/**' ]
excludeCommentStatements: true
UnusedPrivateMember:
# https://detekt.dev/docs/introduction/compose#unusedprivatemember
ignoreAnnotated: [ 'Preview' ]
WildcardImport:
active: true
excludeImports: [ ]