diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 0e21d99d4..11c42e80d 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -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' ]