Browse Source

change functionPattern to support composable functions and ktlintFormat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
sowjanyakch 5 months ago
parent
commit
78a55c016f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      detekt.yml

+ 1 - 1
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: