Prefer canonical len check
ProprietaryNormalize len(s) >= 1 to len(s) > 0 and len(s) < 1 to len(s) == 0.
org. openrewrite. golang. codequality. PreferLenCheckmod run . --recipe= org. openrewrite. golang. codequality. PreferLenCheckInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.