Formatting code quality

Proprietary

Code formatting recipes for C#.

OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.FormattingCodeQuality
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.FormattingCodeQuality

Install it once, 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. Add newline before return
  2. Add newline after opening brace
  3. Normalize whitespace
  4. Format accessor list
  5. Format switch section
  6. Format documentation summary
  7. Add summary element to documentation comment
  8. Add parameter name to documentation comment
  9. Add paragraph to documentation comment
  10. Order elements in documentation comment
  11. Add 'typeparam' element to documentation comment
  12. Fix documentation comment tag
  13. Invalid reference in a documentation comment
  14. Add summary to documentation comment