Find SideEffect(key) { … } calls

Proprietary

SideEffect { } takes no keys — it runs after every successful composition. Passing an argument suggests the author meant LaunchedEffect(key) { } (lifecycle-tied) or DisposableEffect(key) { … } (cleanup-tied). Either drop the argument or switch to the keyed effect type.

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