Find Column { … } with a single child

Proprietary

A Column { OneChild() } allocates a layout node and runs the column measurement to position exactly one child. Either remove the column or replace with Box(modifier = m) if the column's verticalArrangement actually does work the parent isn't.

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