Simplify boolean comparison

Proprietary

Simplify true == x to x, false == x to !x, true != x to !x, and false != x to x.

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

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