Skip to content

Commit

Permalink
Adds ignore for SimpleWhenEntries in CyclomaticComplexMethod now caug…
Browse files Browse the repository at this point in the history
…ht on detekt detekt/detekt#5442
  • Loading branch information
antonis committed Jul 18, 2023
1 parent 4e738de commit 2ccba23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/detekt/detekt.yml
Expand Up @@ -13,6 +13,8 @@ complexity:
ignoreAnnotated: ['Composable']
TooManyFunctions:
active: false
CyclomaticComplexMethod:
ignoreSimpleWhenEntries: true

coroutines:
GlobalCoroutineUsage:
Expand Down

0 comments on commit 2ccba23

Please sign in to comment.