doc: enhance errcheck description (#3688)

This commit is contained in:
Oleksandr Redko 2023-03-13 17:16:50 +02:00 committed by GitHub
parent 6aa4e0f52b
commit 09f9e77779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,8 @@ func NewErrcheck(settings *config.ErrcheckSettings) *goanalysis.Linter {
return goanalysis.NewLinter(
errcheckName,
"Errcheck is a program for checking for unchecked errors "+
"in go programs. These unchecked errors can be critical bugs in some cases",
"errcheck is a program for checking for unchecked errors in Go code. "+
"These unchecked errors can be critical bugs in some cases",
[]*analysis.Analyzer{analyzer},
nil,
).WithContextSetter(func(lintCtx *linter.Context) {