I'm trying out detekt 1.19.0-RC1 and can't get
ignoreAnnotated
working on
FunctionNaming
rule with
Composable
annotation.
I've tried config:
FunctionNaming:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
functionPattern: '([a-z][a-zA-Z0-9]*)|(`.*`)'
excludeClassPattern: '$^'
ignoreOverridden: true
ignoreAnnotated:
- 'Composable'
Also tried setting it to full
androidx.compose.runtime.Composable
, but I'm still getting reports on all Composable functions
Am I configuring it wrong?