Skip to content

Commit b81109c

Browse files
ldezSeigeC
authored andcommitted
docs: have a clear explanation about the staticcheck integration. (golangci#2894)
docs: have a clear state about staticcheck
1 parent b07707d commit b81109c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/golinters/staticcheck.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ func NewStaticcheck(settings *config.StaticCheckSettings) *goanalysis.Linter {
1414

1515
return goanalysis.NewLinter(
1616
"staticcheck",
17-
"Staticcheck is a go vet on steroids, applying a ton of static analysis checks",
17+
"It's a set of rules from staticcheck. It's not the same thing as the staticcheck binary."+
18+
" The author of staticcheck doesn't support or approve the use of staticcheck as a library inside golangci-lint.",
1819
analyzers,
1920
nil,
2021
).WithLoadMode(goanalysis.LoadModeTypesInfo)

0 commit comments

Comments
 (0)