Find @Composable functions whose name starts with a lowercase letter

Proprietary

Compose convention: composables that emit UI use PascalCase to set them apart from regular Kotlin functions in IDE auto-complete and stack traces. Lowercase-named composables either should be renamed or, if they return a value rather than emit UI, marked @ReadOnlyComposable to signal they don't compose.

org.openrewrite.kotlin.compose.FindLowercaseComposableFunction$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindLowercaseComposableFunction$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.