From d295b581247de079afc5c40f42d19c603ca62cb9 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Tue, 31 May 2022 02:22:04 +0200 Subject: [PATCH] docs: have a clear state about staticcheck --- pkg/golinters/staticcheck.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/golinters/staticcheck.go b/pkg/golinters/staticcheck.go index 2226eabb4e21..c7b7b3db4b74 100644 --- a/pkg/golinters/staticcheck.go +++ b/pkg/golinters/staticcheck.go @@ -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)