Reduce parameter count (max 5 parameters)

Proprietary

Finds def methods with more than 5 parameters. Long parameter lists hurt readability; consider using a case class.

org.openrewrite.scala.cleanup.ReduceParameterCount
mod run . --recipe=org.openrewrite.scala.cleanup.ReduceParameterCount

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.