mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-12 11:17:17 +01:00
Tweak detekt config
This commit is contained in:
parent
1e28999e13
commit
0bfacf5570
@ -6,9 +6,9 @@ naming:
|
|||||||
constantPattern: '[A-Z][A-Za-z0-9]*'
|
constantPattern: '[A-Z][A-Za-z0-9]*'
|
||||||
|
|
||||||
complexity:
|
complexity:
|
||||||
|
LongMethod:
|
||||||
|
ignoreAnnotated: [ 'Composable' ]
|
||||||
LongParameterList:
|
LongParameterList:
|
||||||
functionThreshold: 6
|
|
||||||
constructorThreshold: 7
|
|
||||||
ignoreDefaultParameters: true
|
ignoreDefaultParameters: true
|
||||||
ignoreAnnotated: [ 'Composable' ]
|
ignoreAnnotated: [ 'Composable' ]
|
||||||
|
|
||||||
@ -16,5 +16,7 @@ style:
|
|||||||
MagicNumber:
|
MagicNumber:
|
||||||
ignorePropertyDeclaration: true
|
ignorePropertyDeclaration: true
|
||||||
ignoreCompanionObjectPropertyDeclaration: true
|
ignoreCompanionObjectPropertyDeclaration: true
|
||||||
|
ReturnCount:
|
||||||
|
excludeGuardClauses: true
|
||||||
UnusedPrivateMember:
|
UnusedPrivateMember:
|
||||||
ignoreAnnotated: [ 'Preview' ]
|
ignoreAnnotated: [ 'Preview' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user