diff --git a/docs/data/linters_info.json b/docs/data/linters_info.json index 16097bd24abc..2ae9f8840a3f 100644 --- a/docs/data/linters_info.json +++ b/docs/data/linters_info.json @@ -819,7 +819,7 @@ "standard" ], "loadMode": 8767, - "originalURL": "https://staticcheck.dev/", + "originalURL": "https://github.com/dominikh/go-tools", "internal": false, "canAutoFix": true, "isSlow": true, diff --git a/pkg/lint/lintersdb/builder_linter.go b/pkg/lint/lintersdb/builder_linter.go index 9c7b2500a4e1..c64d498e4198 100644 --- a/pkg/lint/lintersdb/builder_linter.go +++ b/pkg/lint/lintersdb/builder_linter.go @@ -597,7 +597,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) { WithSince("v1.0.0"). WithLoadForGoAnalysis(). WithAutoFix(). - WithURL("https://staticcheck.dev/"), + WithURL("https://github.com/dominikh/go-tools"), linter.NewConfig(swaggo.New()). WithSince("v2.2.0"). diff --git a/scripts/website/dump_info/thanks.go b/scripts/website/dump_info/thanks.go index f22f8b08423e..0c08f5d35d57 100644 --- a/scripts/website/dump_info/thanks.go +++ b/scripts/website/dump_info/thanks.go @@ -102,9 +102,6 @@ func extractInfo(lc *linter.Config) authorInfo { exp := regexp.MustCompile(`https://(github|gitlab)\.com/([^/]+)/.*`) switch lc.Name() { - case "staticcheck": - return authorInfo{Author: "dominikh", Host: hostGitHub} - case "exhaustruct": return authorInfo{Author: "xobotyi", Host: hostGitHub} diff --git a/scripts/website/dump_info/thanks_test.go b/scripts/website/dump_info/thanks_test.go index 7caa7e28c49f..f2752b26db0f 100644 --- a/scripts/website/dump_info/thanks_test.go +++ b/scripts/website/dump_info/thanks_test.go @@ -48,14 +48,6 @@ func Test_extractInfo(t *testing.T) { }, expected: authorInfo{Author: "owner", Host: "gitlab"}, }, - { - desc: "staticcheck", - lc: &linter.Config{ - Linter: &FakeLinter{name: "staticcheck"}, - OriginalURL: "https://github.com/owner/linter", - }, - expected: authorInfo{Author: "dominikh", Host: "github"}, - }, { desc: "gostaticanalysis", lc: &linter.Config{