From 2ccba23ff4fc92887eddac40ced12e99a7150025 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Tue, 18 Jul 2023 13:40:43 +0300 Subject: [PATCH] Adds ignore for SimpleWhenEntries in CyclomaticComplexMethod now caught on detekt https://github.com/detekt/detekt/pull/5442 --- config/detekt/detekt.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 47920a8142ea..bf727a260597 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -13,6 +13,8 @@ complexity: ignoreAnnotated: ['Composable'] TooManyFunctions: active: false + CyclomaticComplexMethod: + ignoreSimpleWhenEntries: true coroutines: GlobalCoroutineUsage: