Skip to content

Commit

Permalink
docs: link fixes (golangci#3142)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored and SeigeC committed Apr 4, 2023
1 parent 0399409 commit 2be7b59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .golangci.reference.yml
Expand Up @@ -716,7 +716,7 @@ linters-settings:
# Default: 1.13
# Deprecated: use the global `run.go` instead.
go: "1.15"
# https://staticcheck.io/docs/options#checks
# https://staticcheck.io/docs/configuration/options/#checks
# Default: ["*"]
checks: [ "all" ]

Expand Down Expand Up @@ -1610,7 +1610,7 @@ linters-settings:
# Default: "1.13"
# Deprecated: use the global `run.go` instead.
go: "1.15"
# https://staticcheck.io/docs/options#checks
# https://staticcheck.io/docs/configuration/options/#checks
# Default: ["*"]
checks: [ "all" ]

Expand All @@ -1619,17 +1619,17 @@ linters-settings:
# Default: 1.13
# Deprecated: use the global `run.go` instead.
go: "1.15"
# https://staticcheck.io/docs/options#checks
# https://staticcheck.io/docs/configuration/options/#checks
# Default: ["*"]
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
# https://staticcheck.io/docs/options#dot_import_whitelist
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist
# Default: ["github.com/mmcloughlin/avo/build", "github.com/mmcloughlin/avo/operand", "github.com/mmcloughlin/avo/reg"]
dot-import-whitelist:
- fmt
# https://staticcheck.io/docs/options#initialisms
# https://staticcheck.io/docs/configuration/options/#initialisms
# 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"]
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" ]
# https://staticcheck.io/docs/options#http_status_code_whitelist
# https://staticcheck.io/docs/configuration/options/#http_status_code_whitelist
# Default: ["200", "400", "404", "500"]
http-status-code-whitelist: [ "200", "400", "404", "500" ]

Expand Down Expand Up @@ -1907,7 +1907,7 @@ linters:
# Default: false
disable-all: true
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
- asasalint
- asciicheck
Expand Down Expand Up @@ -2012,7 +2012,7 @@ linters:
# Default: false
enable-all: true
# Disable specific linter
# https://golangci-lint.run/usage/linters/#disabled-by-default-linters--e--enable
# https://golangci-lint.run/usage/linters/#disabled-by-default
disable:
- asasalint
- asciicheck
Expand Down Expand Up @@ -2240,7 +2240,7 @@ severity:
# this will be the default severity applied.
# Severities should match the supported severity names of the selected out format.
# - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity
# - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity
# - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#SeverityLevel
# - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
#
# Default value is an empty string.
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -8,7 +8,7 @@ IMPORTANT: `varcheck` and `deadcode` has been removed of default linters.
1. new linters
* `interfacebloat`: https://github.com/sashamelentyev/interfacebloat
* `logrlint`: https://github.com/timonwong/logrlint
* `reassign`: https://github.com/curioswitch/go-reass
* `reassign`: https://github.com/curioswitch/go-reassign
2. updated linters
* `go-colorable`: from 0.1.12 to 0.1.13
* `go-critic`: from 0.6.3 to 0.6.4
Expand Down

0 comments on commit 2be7b59

Please sign in to comment.