From 1cdd41e5a6b558630a306d956e434a7f4e52de34 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 5 Jun 2024 04:59:36 +0000 Subject: [PATCH] [components] Fix Detekt LongParameterList>threshold option deprecated https://github.com/mozilla-mobile/android-components/issues/8644 UltraBlame original commit: f480d57538fc03edd6fd6a6f9583becfc560af2e --- mobile/android/android-components/config/detekt.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/android/android-components/config/detekt.yml b/mobile/android/android-components/config/detekt.yml index 509dbd501865a..46d961ebc45d7 100644 --- a/mobile/android/android-components/config/detekt.yml +++ b/mobile/android/android-components/config/detekt.yml @@ -244,7 +244,10 @@ LongParameterList active : true -threshold +constructorThreshold +: +6 +functionThreshold : 6 ignoreDefaultParameters