Moderne OnlyThis recipe is proprietary to Moderne and runs on the Moderne platform or CLI — it isn’t part of the open-source catalog. Available with a Moderne subscription.
Formatting code quality
Recipe ID
OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.FormattingCodeQualityArtifact
OpenRewrite.Recipes.CSharp.CodeQualityDefinition
Recipes14
- Add newline before return
- Add newline after opening brace
- Normalize whitespace
- Format accessor list
- Format switch section
- Format documentation summary
- Add summary element to documentation comment
- Add parameter name to documentation comment
- Add paragraph to documentation comment
- Order elements in documentation comment
- Add 'typeparam' element to documentation comment
- Fix documentation comment tag
- Invalid reference in a documentation comment
- Add summary to documentation comment
Usage
Run this recipe
In order to run C# recipes, you will need to use the Moderne CLI.
Once the CLI is installed, you can install this C# recipe package by running the following command:
Install the recipe package
mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality
Then, you can run the recipe via:
Run the recipe
mod run . --recipe OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.FormattingCodeQuality