Use String.toInt(radix) instead of Integer.parseInt(s, radix)

Proprietary

Integer.parseInt(s, radix) is JVM-only; the Kotlin extension s.toInt(radix) is multiplatform and reads as a receiver call.

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