Simplify no-op TrimLeft/TrimRight
ProprietaryReplace strings.TrimLeft(s, "") and strings.TrimRight(s, "") with s since trimming with an empty cutset is a no-op.
org. openrewrite. golang. codequality. SimplifyTrimLeftNoopmod run . --recipe= org. openrewrite. golang. codequality. SimplifyTrimLeftNoopInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.