Skip to content

Commit 893cf0a

Browse files
runningcodeclaude
andauthored
build(detekt): Ignore FunctionNaming for Composable functions (#6176)
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) <noreply@anthropic.com>
1 parent cf43fac commit 893cf0a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎detekt.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
style:
22
ReturnCount:
33
max: 3
4+
naming:
5+
FunctionNaming:
6+
ignoreAnnotated: ['Composable']

0 commit comments

Comments
 (0)