doc: replace golang with Go in descriptions for gci, thelper, goerr113 (#3651)
This commit is contained in:
parent
49ce80ae82
commit
ad334b0650
@ -57,7 +57,7 @@ func NewGci(settings *config.GciSettings) *goanalysis.Linter {
|
|||||||
|
|
||||||
return goanalysis.NewLinter(
|
return goanalysis.NewLinter(
|
||||||
gciName,
|
gciName,
|
||||||
"Gci controls golang package import order and makes it always deterministic.",
|
"Gci controls Go package import order and makes it always deterministic.",
|
||||||
[]*analysis.Analyzer{analyzer},
|
[]*analysis.Analyzer{analyzer},
|
||||||
nil,
|
nil,
|
||||||
).WithContextSetter(func(lintCtx *linter.Context) {
|
).WithContextSetter(func(lintCtx *linter.Context) {
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
func NewGoerr113() *goanalysis.Linter {
|
func NewGoerr113() *goanalysis.Linter {
|
||||||
return goanalysis.NewLinter(
|
return goanalysis.NewLinter(
|
||||||
"goerr113",
|
"goerr113",
|
||||||
"Golang linter to check the errors handling expressions",
|
"Go linter to check the errors handling expressions",
|
||||||
[]*analysis.Analyzer{err113.NewAnalyzer()},
|
[]*analysis.Analyzer{err113.NewAnalyzer()},
|
||||||
nil,
|
nil,
|
||||||
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
||||||
|
@ -55,7 +55,7 @@ func NewThelper(cfg *config.ThelperSettings) *goanalysis.Linter {
|
|||||||
|
|
||||||
return goanalysis.NewLinter(
|
return goanalysis.NewLinter(
|
||||||
"thelper",
|
"thelper",
|
||||||
"thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers",
|
"thelper detects Go test helpers without t.Helper() call and checks the consistency of test helpers",
|
||||||
[]*analysis.Analyzer{a},
|
[]*analysis.Analyzer{a},
|
||||||
cfgMap,
|
cfgMap,
|
||||||
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user