Explorar o código

change functionPattern to support composable functions and ktlintFormat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
sowjanyakch hai 5 meses
pai
achega
78a55c016f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: