docs: improve govet
description (#4366)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
e5d2bc9529
commit
cc782046de
@ -144,8 +144,8 @@ func NewGovet(settings *config.GovetSettings) *goanalysis.Linter {
|
|||||||
|
|
||||||
return goanalysis.NewLinter(
|
return goanalysis.NewLinter(
|
||||||
"govet",
|
"govet",
|
||||||
"Vet examines Go source code and reports suspicious constructs, "+
|
"Vet examines Go source code and reports suspicious constructs. "+
|
||||||
"such as Printf calls whose arguments do not align with the format string",
|
"It is roughly the same as 'go vet' and uses its passes.",
|
||||||
analyzersFromConfig(settings),
|
analyzersFromConfig(settings),
|
||||||
conf,
|
conf,
|
||||||
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user