Use descriptive variable names
Recipe ID
org.openrewrite.golang.codequality.UseDescriptiveVarNamesArtifactgithub.com/moderneinc/recipes-goFind variable declarations with single-letter names that are not conventional short names (i, j, k, n, x, y, r, w, t, s, b, v).
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.golang.codequality.UseDescriptiveVarNamesIf the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go