docs: have a clear explanation about the staticcheck integration. (#2894)
docs: have a clear state about staticcheck
This commit is contained in:
parent
ac99dbccc0
commit
091a641f91
@ -14,7 +14,8 @@ func NewStaticcheck(settings *config.StaticCheckSettings) *goanalysis.Linter {
|
||||
|
||||
return goanalysis.NewLinter(
|
||||
"staticcheck",
|
||||
"Staticcheck is a go vet on steroids, applying a ton of static analysis checks",
|
||||
"It's a set of rules from staticcheck. It's not the same thing as the staticcheck binary."+
|
||||
" The author of staticcheck doesn't support or approve the use of staticcheck as a library inside golangci-lint.",
|
||||
analyzers,
|
||||
nil,
|
||||
).WithLoadMode(goanalysis.LoadModeTypesInfo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user