Apply Kotlin best-practice idioms
ProprietaryOpinionated bundle of every best-practice recipe in this module: collection / string round-trip collapses, stdlib accessor swaps, and a broad set of search-only flags covering class structure, function declarations, string construction, Boolean conditionals, lambdas, and exception handling. For diff-only output, use ImproveKotlinBestPractices instead.
org. openrewrite. kotlin. bestpractices. BestPractices$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. BestPractices$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.
Recipe list
It runs these recipes, in this order.