Add newline after opening brace
Recipe ID
OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.AddNewLineAfterOpeningBraceArtifactOpenRewrite.Recipes.CSharp.CodeQualityAdd newline after opening brace so the first statement starts on its own line.
Single recipecsharpcode-qualityProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.CodeQuality.Formatting.AddNewLineAfterOpeningBraceIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality