Skip to content

Commit 483c1c3

Browse files
authored
dev: use repository link (#6051)
1 parent 012d42c commit 483c1c3

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

docs/data/linters_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@
819819
"standard"
820820
],
821821
"loadMode": 8767,
822-
"originalURL": "https://staticcheck.dev/",
822+
"originalURL": "https://github.com/dominikh/go-tools",
823823
"internal": false,
824824
"canAutoFix": true,
825825
"isSlow": true,

pkg/lint/lintersdb/builder_linter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
597597
WithSince("v1.0.0").
598598
WithLoadForGoAnalysis().
599599
WithAutoFix().
600-
WithURL("https://staticcheck.dev/"),
600+
WithURL("https://github.com/dominikh/go-tools"),
601601

602602
linter.NewConfig(swaggo.New()).
603603
WithSince("v2.2.0").

scripts/website/dump_info/thanks.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ func extractInfo(lc *linter.Config) authorInfo {
102102
exp := regexp.MustCompile(`https://(github|gitlab)\.com/([^/]+)/.*`)
103103

104104
switch lc.Name() {
105-
case "staticcheck":
106-
return authorInfo{Author: "dominikh", Host: hostGitHub}
107-
108105
case "exhaustruct":
109106
return authorInfo{Author: "xobotyi", Host: hostGitHub}
110107

scripts/website/dump_info/thanks_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ func Test_extractInfo(t *testing.T) {
4848
},
4949
expected: authorInfo{Author: "owner", Host: "gitlab"},
5050
},
51-
{
52-
desc: "staticcheck",
53-
lc: &linter.Config{
54-
Linter: &FakeLinter{name: "staticcheck"},
55-
OriginalURL: "https://github.com/owner/linter",
56-
},
57-
expected: authorInfo{Author: "dominikh", Host: "github"},
58-
},
5951
{
6052
desc: "gostaticanalysis",
6153
lc: &linter.Config{

0 commit comments

Comments
 (0)