30 lines
800 B
YAML
30 lines
800 B
YAML
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' ]
|
|
MaxLineLength:
|
|
excludes: [ '**/test/**', '**/*.Test.kt', '**/*.Spec.kt' ]
|
|
excludeCommentStatements: true
|
|
UnusedPrivateMember:
|
|
# https://detekt.dev/docs/introduction/compose#unusedprivatemember
|
|
ignoreAnnotated: [ 'Preview' ]
|
|
WildcardImport:
|
|
active: true
|
|
excludeImports: [ ]
|