Simplify boolean logic with constants

Proprietary

Simplify x || true to true, x && false to false, x || false to x, and x && true to x.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.SimplifyBooleanLogic
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.SimplifyBooleanLogic

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