mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-26 19:08:25 +01:00
cc09230e26
* Removing ktlint * Removing compose lint * Adding initial Detekt config * Setting up detekt config * Adding detekt baseline * Fixing workflows * Moving to a module based solution * Adding new line * Adding new line * Updating baseline * Addressing PR suggestions * Regenerating baseline.xml * Cleanup --------- Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
20 lines
461 B
YAML
20 lines
461 B
YAML
naming:
|
|
FunctionNaming:
|
|
functionPattern: '[a-z][a-zA-Z0-9]*'
|
|
ignoreAnnotated: [ 'Composable' ]
|
|
TopLevelPropertyNaming:
|
|
constantPattern: '[A-Z][A-Za-z0-9]*'
|
|
|
|
complexity:
|
|
LongParameterList:
|
|
functionThreshold: 6
|
|
constructorThreshold: 7
|
|
ignoreDefaultParameters: true
|
|
|
|
style:
|
|
MagicNumber:
|
|
ignorePropertyDeclaration: true
|
|
ignoreCompanionObjectPropertyDeclaration: true
|
|
UnusedPrivateMember:
|
|
ignoreAnnotated: [ 'Preview' ]
|