Use block body or expression body
ProprietaryConvert between block body and expression body for members.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseBlockBodyOrExpressionBodyOptional
AllowMultiLineBoolean
When true, also flags methods with multi-line return expressions (e.g., switch expressions, multi-line conditionals). Default is false, matching Roslyn's default RCS1016 behavior.
mod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseBlockBodyOrExpressionBodyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.