Find zero-valued Modifier.padding(...) calls

Proprietary

Modifier.padding(0.dp) allocates a PaddingValues and a layout pass to inset by zero — the call is a no-op in terms of layout but not at runtime. Drop the call (or split out the surrounding chain so the zero edge isn't expressed at all).

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