From 4b9268ede107d3c835089b7997fd7001d5e36041 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Mon, 28 Sep 2026 13:49:16 +0200 Subject: [PATCH] build(detekt): Ignore FunctionNaming for Composable functions Compose functions that emit UI are PascalCase by convention, which detekt's default FunctionNaming pattern flags. Follow detekt's Compose guide and skip the rule for @Composable functions. Fixes JAVA-748 Fixes #6175 Co-Authored-By: Claude Opus 5.5 (1M context) --- detekt.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/detekt.yml b/detekt.yml index 49f91ae64fb..09d69d77761 100644 --- a/detekt.yml +++ b/detekt.yml @@ -1,3 +1,6 @@ style: ReturnCount: max: 3 +naming: + FunctionNaming: + ignoreAnnotated: ['Composable']