Remove redundant else after return
ProprietaryRemove if ... { return } else { ... } where the else is redundant because the if block ends with a return.
org. openrewrite. golang. codequality. RemoveRedundantElsemod run . --recipe= org. openrewrite. golang. codequality. RemoveRedundantElseInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.