From 66153b629e28b6d0636e8dc68087ffbc778d4090 Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Fri, 20 Sep 2024 16:45:16 +0200 Subject: [PATCH] change functionPattern to support composable functions Signed-off-by: sowjanyakch --- detekt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detekt.yml b/detekt.yml index 164d9ca8e6..896a31dcf0 100644 --- a/detekt.yml +++ b/detekt.yml @@ -278,7 +278,7 @@ naming: minimumFunctionNameLength: 3 FunctionNaming: active: true - functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$' + functionPattern: '^([a-z$A-Z][a-zA-Z$0-9]*)|(.*)$' excludeClassPattern: '$^' ignoreOverridden: true excludes: