Skip to content

Commit edc3955

Browse files
committed
fix: disable functionName check on composables
1 parent 2601dd6 commit edc3955

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/detekt/detekt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ naming:
335335
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/androidUnitTest/**', '**/androidInstrumentedTest/**', '**/jsTest/**', '**/iosTest/**']
336336
functionPattern: '[a-z][a-zA-Z0-9]*'
337337
excludeClassPattern: '$^'
338+
ignoreAnnotated:
339+
- 'Composable'
338340
FunctionParameterNaming:
339341
active: true
340342
parameterPattern: '[a-z][A-Za-z0-9]*'

0 commit comments

Comments
 (0)