Skip to content

Commit 00e8a9e

Browse files
authored
docs: replace staticcheck.io with staticcheck.dev (#5107)
1 parent a69793e commit 00e8a9e

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.golangci.next.reference.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ linters-settings:
13961396
local_replace_directives: false
13971397

13981398
gosimple:
1399-
# Sxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
1399+
# Sxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
14001400
# Default: ["*"]
14011401
checks:
14021402
# Use plain channel send or receive instead of single-case select.
@@ -2854,7 +2854,7 @@ linters-settings:
28542854
extra-start-span-signatures:
28552855
- "github.com/user/repo/telemetry/trace.Start:opentelemetry"
28562856
staticcheck:
2857-
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
2857+
# SAxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
28582858
# Example (to disable some checks): [ "all", "-SA1000", "-SA1001"]
28592859
# Default: ["*"]
28602860
checks:
@@ -3145,17 +3145,17 @@ linters-settings:
31453145
- SA9009
31463146

31473147
stylecheck:
3148-
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist
3148+
# https://staticcheck.dev/docs/configuration/options/#dot_import_whitelist
31493149
# Default: ["github.com/mmcloughlin/avo/build", "github.com/mmcloughlin/avo/operand", "github.com/mmcloughlin/avo/reg"]
31503150
dot-import-whitelist:
31513151
- fmt
3152-
# https://staticcheck.io/docs/configuration/options/#initialisms
3152+
# https://staticcheck.dev/docs/configuration/options/#initialisms
31533153
# Default: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS"]
31543154
initialisms: [ "ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS" ]
3155-
# https://staticcheck.io/docs/configuration/options/#http_status_code_whitelist
3155+
# https://staticcheck.dev/docs/configuration/options/#http_status_code_whitelist
31563156
# Default: ["200", "400", "404", "500"]
31573157
http-status-code-whitelist: [ "200", "400", "404", "500" ]
3158-
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
3158+
# STxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
31593159
# Example (to disable some checks): [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
31603160
# Default: ["*"]
31613161
checks:

.golangci.reference.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ linters-settings:
969969
local_replace_directives: false
970970

971971
gosimple:
972-
# Sxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
972+
# Sxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
973973
# Default: ["*"]
974974
checks: [ "all" ]
975975

@@ -2253,22 +2253,22 @@ linters-settings:
22532253
extra-start-span-signatures:
22542254
- "github.com/user/repo/telemetry/trace.Start:opentelemetry"
22552255
staticcheck:
2256-
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
2256+
# SAxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
22572257
# Default: ["*"]
22582258
checks: [ "all" ]
22592259

22602260
stylecheck:
2261-
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
2261+
# STxxxx checks in https://staticcheck.dev/docs/configuration/options/#checks
22622262
# Default: ["*"]
22632263
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
2264-
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist
2264+
# https://staticcheck.dev/docs/configuration/options/#dot_import_whitelist
22652265
# Default: ["github.com/mmcloughlin/avo/build", "github.com/mmcloughlin/avo/operand", "github.com/mmcloughlin/avo/reg"]
22662266
dot-import-whitelist:
22672267
- fmt
2268-
# https://staticcheck.io/docs/configuration/options/#initialisms
2268+
# https://staticcheck.dev/docs/configuration/options/#initialisms
22692269
# Default: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS"]
22702270
initialisms: [ "ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS" ]
2271-
# https://staticcheck.io/docs/configuration/options/#http_status_code_whitelist
2271+
# https://staticcheck.dev/docs/configuration/options/#http_status_code_whitelist
22722272
# Default: ["200", "400", "404", "500"]
22732273
http-status-code-whitelist: [ "200", "400", "404", "500" ]
22742274

assets/linters-info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@
11251125
"alternativeNames": [
11261126
"megacheck"
11271127
],
1128-
"originalURL": "https://staticcheck.io/",
1128+
"originalURL": "https://staticcheck.dev/",
11291129
"internal": false,
11301130
"isSlow": true,
11311131
"since": "v1.0.0"

pkg/lint/lintersdb/builder_linter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
713713
WithLoadForGoAnalysis().
714714
WithPresets(linter.PresetBugs, linter.PresetMetaLinter).
715715
WithAlternativeNames(megacheckName).
716-
WithURL("https://staticcheck.io/"),
716+
WithURL("https://staticcheck.dev/"),
717717

718718
linter.NewConfig(linter.NewNoopDeprecated("structcheck", cfg, linter.DeprecationError)).
719719
WithSince("v1.0.0").

0 commit comments

Comments
 (0)