Find non-@Composable functions calling @Composable-only APIs
ProprietaryA function that calls LaunchedEffect/remember/rememberCoroutineScope but isn't annotated @Composable itself is a compile error in well-typed code, but suppressors and hand-rolled annotations let it slip through. Add @Composable to the function declaration so the contract is explicit.
org. openrewrite. kotlin. compose. FindNonComposableUsingComposableApis$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindNonComposableUsingComposableApis$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.