Require the use of === and !==
ProprietaryReplaces == with === and != with !== when at least one operand is a typeof expression or both operands are literals of the same type, where loose and strict equality are guaranteed to behave identically. All other loose-equality comparisons are left unchanged because the operators can evaluate differently there. Replicates the autofix of the ESLint rule eqeqeq under its default options.
org. openrewrite. javascript. cleanup. Eqeqeqmod run . --recipe= org. openrewrite. javascript. cleanup. EqeqeqInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.