From 13b00f75f0bf1723cc6f86badad20243f9824d2a Mon Sep 17 00:00:00 2001 From: tzugen Date: Sat, 15 May 2021 15:35:35 +0200 Subject: [PATCH] Use default values for LongMethod, LongParameterList, LargeClass and ComplexMethod. The algrorithms in detekt had changed when I updated detekt to v1.16, but our values not, resulting in a very long baseline file with many non-sensical warnings. By removing our config we follow the detekt config when they modify their algorithms again. --- detekt-config.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/detekt-config.yml b/detekt-config.yml index 855e94ac..f152b9ec 100644 --- a/detekt-config.yml +++ b/detekt-config.yml @@ -36,15 +36,6 @@ empty-blocks: complexity: active: true - LongMethod: - threshold: 20 - LongParameterList: - functionThreshold: 5 - constructorThreshold: 5 - LargeClass: - threshold: 150 - ComplexMethod: - threshold: 10 TooManyFunctions: thresholdInFiles: 20 thresholdInClasses: 20