Correctly spaced descriptions

MSAL

Recipe descriptions should be cleanly formatted. This recipe forces correct spacing in multiline descriptions. In a multi line description the lines should not start with whitespace and end with a single space except for the last line which should end with a "." (e.g.

  return "This is a correct " +
   "multi line description";

).

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

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