1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

fix: update rule description URLs to point to revive.run (#1360)

This commit is contained in:
Hazhir Derakhshi
2025-05-20 08:26:22 +01:00
committed by GitHub
parent 1c13e455be
commit 3f2cbe9d4b
4 changed files with 11 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ func TestFormatter(t *testing.T) {
{
formatter: &formatter.Friendly{},
want: `
⚠ https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#rule test failure
⚠ https://revive.run/r#rule test failure
test.go:2:5
⚠ 1 problem (0 errors, 1 warning)
@@ -71,7 +71,7 @@ Warnings:
},
{
formatter: &formatter.Plain{},
want: `test.go:2:5: test failure https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#rule`,
want: `test.go:2:5: test failure https://revive.run/r#rule`,
},
{
formatter: &formatter.Sarif{},
@@ -102,7 +102,7 @@ Warnings:
],
"tool": {
"driver": {
"informationUri": "https://github.com/mgechev/revive",
"informationUri": "https://revive.run",
"name": "revive"
}
}
@@ -116,7 +116,7 @@ Warnings:
formatter: &formatter.Stylish{},
want: `
test.go
(2, 5) https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#rule test failure
(2, 5) https://revive.run/r#rule test failure
✖ 1 problem (0 errors) (1 warning)