Find GlobalScope.launch calls
ProprietaryGlobalScope.launch { } is a fire-and-forget coroutine builder with no parent — it cannot be cancelled with the lifecycle that started it and leaks if the work outlives the screen/process. Prefer a scoped CoroutineScope tied to the lifecycle (viewModelScope, lifecycleScope, or an explicit scope cancelled in onCleared).
org. openrewrite. kotlin. coroutines. FindGlobalScopeLaunch$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. coroutines. FindGlobalScopeLaunch$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.