Declarative recipe best practices

MSAL

Best practices for declarative YAML recipe development.

org.openrewrite.java.recipes.DeclarativeRecipeBestPractices
mod run . --recipe=org.openrewrite.java.recipes.DeclarativeRecipeBestPractices

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.

  1. End declarative recipe descriptions with a period
  2. Use a lowercase x as version wildcard in declarative recipes
  3. Remove the trailing colon from declarative recipe entries without options
  4. Remove consecutive duplicate entries from declarative recipe lists