From 8b27b6dd957c647e00a8ff41e68a46b3c0ebcf75 Mon Sep 17 00:00:00 2001 From: Jesus Recio Date: Wed, 20 Nov 2024 13:42:50 +0100 Subject: [PATCH] feat: add new fields in 1.23.3 that were disabled: KDocReferencesNonPublicProperty and NestedScopeFunctions --- config/detekt/detekt.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index afa5077a48a..a4e1763fa2e 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -62,6 +62,8 @@ comments: EndOfSentenceFormat: active: false endOfSentenceFormat: '([.?!][ \t\n\r\f<])|([.?!:]$)' + KDocReferencesNonPublicProperty: + active: false OutdatedDocumentation: active: false matchTypeParameters: true @@ -136,6 +138,10 @@ complexity: NestedBlockDepth: active: true threshold: 5 + NestedScopeFunctions: + active: false + threshold: 1 + functions: ['kotlin.apply', 'kotlin.run', 'kotlin.with', 'kotlin.let', 'kotlin.also'] ReplaceSafeCallChainWithRun: active: false StringLiteralDuplication: