Find LaunchedEffect { … } calls with no key argument

Proprietary

LaunchedEffect always takes at least one key — without one the call is a compile error (or silently rebound to a (suspend () -> Unit) overload in stubbed builds). Confirm a key is supplied; LaunchedEffect(Unit) { … } is the canonical one-shot spelling.

org.openrewrite.kotlin.compose.FindLaunchedEffectWithoutKey$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindLaunchedEffectWithoutKey$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.