Tweak detekt config

(cherry picked from commit 1b0bbb84401005801e61107a0c36443af691b8e6)
This commit is contained in:
AntsyLich 2024-02-17 04:25:41 +06:00 committed by Cuong M. Tran
parent 7628f98b49
commit 4cd58f0592
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -6,9 +6,9 @@ naming:
constantPattern: '[A-Z][A-Za-z0-9]*'
complexity:
LongMethod:
ignoreAnnotated: [ 'Composable' ]
LongParameterList:
functionThreshold: 6
constructorThreshold: 7
ignoreDefaultParameters: true
ignoreAnnotated: [ 'Composable' ]
@ -16,5 +16,7 @@ style:
MagicNumber:
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
ReturnCount:
excludeGuardClauses: true
UnusedPrivateMember:
ignoreAnnotated: [ 'Preview' ]