Skip to content

Commit

Permalink
Tweak detekt config
Browse files Browse the repository at this point in the history
  • Loading branch information
AntsyLich committed Feb 16, 2024
1 parent 95d4df9 commit 1b0bbb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ naming:
constantPattern: '[A-Z][A-Za-z0-9]*'

complexity:
LongMethod:
ignoreAnnotated: [ 'Composable' ]
LongParameterList:
functionThreshold: 6
constructorThreshold: 7
ignoreDefaultParameters: true
ignoreAnnotated: [ 'Composable' ]

style:
MagicNumber:
ignorePropertyDeclaration: true
ignoreCompanionObjectPropertyDeclaration: true
ReturnCount:
excludeGuardClauses: true
UnusedPrivateMember:
ignoreAnnotated: [ 'Preview' ]

0 comments on commit 1b0bbb8

Please sign in to comment.