Find Android lifecycle / LiveData smells
ProprietaryLifecycle and observable-state patterns that leak across configuration changes or expose internal mutability: LiveData.observe(this, ...) inside fragments, MutableLiveData.postValue from main-thread contexts, public MutableLiveData properties, and raw MutableLiveData allocations.
org. openrewrite. kotlin. android. FindAndroidLifecycleSmells$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindAndroidLifecycleSmells$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.
Recipe list
It runs these recipes, in this order.