Prefer filepath.Clean over redundant filepath.Join
ProprietaryReplace filepath.Join(filepath.Clean(p)) with filepath.Clean(p) since Join with a single already-cleaned argument is redundant.
org. openrewrite. golang. codequality. PreferFilepathCleanmod run . --recipe= org. openrewrite. golang. codequality. PreferFilepathCleanInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.