Jetpack Compose false positive for function name capitalization

We’re seeing false positives for Jetpack Compose function names that are annotated with Composable, in which the convention is to capitalize the first letter of the Kotlin function:

fun SampleScreen() { ... }

The false positive is:
Rename function "SampleScreen" to match the regular expression ^[a-z][a-zA-Z0-9]*$

This contradicts the style guide for Compose here:

which states:
“Jetpack Compose framework development and Library development MUST name any function that returns Unit and bears the @Composable annotation using PascalCase, and the name MUST be that of a noun, not a verb or verb phrase, nor a nouned preposition, adjective or adverb. Nouns MAY be prefixed by descriptive adjectives. This guideline applies whether the function emits UI elements or not. App development SHOULD follow this same convention.”

Hello @kurteous, welcome to the Sonar Community, and thanks for bringing to light this special case to cover in rule S100.

The issue [SONARKT-374] - Jira has been created.