fix: fix typo for errchkjson (#2842)

This commit is contained in:
Gustavo Bazan 2022-05-10 21:47:59 +01:00 committed by GitHub
parent 5a28742643
commit 59971a13f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ func NewErrChkJSONFuncName(cfg *config.ErrChkJSONSettings) *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
"errchkjson", "errchkjson",
"Checks types passed to the json encoding functions. "+ "Checks types passed to the json encoding functions. "+
"Reports unsupported types and optionally reports occations, "+ "Reports unsupported types and optionally reports occasions, "+
"where the check for the returned error can be omitted.", "where the check for the returned error can be omitted.",
[]*analysis.Analyzer{a}, []*analysis.Analyzer{a},
cfgMap, cfgMap,