Find trivial String.format("%s", x) calls

Proprietary

String.format("%s", x) is the long-hand for the Kotlin string template "$x". The template avoids the per-call format-string parse and reads as the thing it produces.

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