Find b == true / b == false comparisons

Proprietary

When b is Boolean, b == true is just b and b == false is !b. The longhand only obscures intent. For Boolean? the longhand is meaningful — it returns false for null rather than failing on !! — so leave those alone; flag only the comparison and let the reviewer decide.

org.openrewrite.kotlin.bestpractices.FindEqualsToBooleanLiteral$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.bestpractices.FindEqualsToBooleanLiteral$KtRecipe'

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