Prefer strconv.Quote over fmt.Sprintf
ProprietaryReplace fmt.Sprintf("%q", s) with strconv.Quote(s) for clearer intent when quoting strings.
org. openrewrite. golang. codequality. PreferStrconvQuotemod run . --recipe= org. openrewrite. golang. codequality. PreferStrconvQuoteInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.