doc: enhance errcheck description (#3688)
This commit is contained in:
parent
6aa4e0f52b
commit
09f9e77779
@ -35,8 +35,8 @@ func NewErrcheck(settings *config.ErrcheckSettings) *goanalysis.Linter {
|
|||||||
|
|
||||||
return goanalysis.NewLinter(
|
return goanalysis.NewLinter(
|
||||||
errcheckName,
|
errcheckName,
|
||||||
"Errcheck is a program for checking for unchecked errors "+
|
"errcheck is a program for checking for unchecked errors in Go code. "+
|
||||||
"in go programs. These unchecked errors can be critical bugs in some cases",
|
"These unchecked errors can be critical bugs in some cases",
|
||||||
[]*analysis.Analyzer{analyzer},
|
[]*analysis.Analyzer{analyzer},
|
||||||
nil,
|
nil,
|
||||||
).WithContextSetter(func(lintCtx *linter.Context) {
|
).WithContextSetter(func(lintCtx *linter.Context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user