Skip to content

Commit

Permalink
README: improve documentation of min-go-version
Browse files Browse the repository at this point in the history
Closes: gh-16
  • Loading branch information
dominikh committed Mar 23, 2024
1 parent ab775bd commit 980d787
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ It defaults to `latest`, which installs the latest released version of Staticche

### `min-go-version`

Minimum version of Go to support. This affects the diagnostics reported by Staticcheck,
avoiding suggestions that are not applicable to older versions of Go.
Minimum version of Go that Staticcheck will report diagnostics for. That is, some
diagnostics don't apply to older versions of Go.

If unset, this will default to the Go version specified in your go.mod.
If unset, this will default to the Go version specified in your go.mod. The default is
usually what you want.

See https://staticcheck.io/docs/running-staticcheck/cli/#go for more information.

Expand Down

0 comments on commit 980d787

Please sign in to comment.