Convert 'if' to assignment

Proprietary

Convert 'if' statement that assigns boolean literals to a simple assignment with the condition expression.

OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.ConvertIfToAssignment
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.ConvertIfToAssignment

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