Skip to content

Commit

Permalink
docs: have a clear explanation about the staticcheck integration. (#2894
Browse files Browse the repository at this point in the history
)

docs: have a clear state about staticcheck
  • Loading branch information
ldez authored Jun 6, 2022
1 parent ac99dbc commit 091a641
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/golinters/staticcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 091a641

Please sign in to comment.