docs: link fixes (#3142)
This commit is contained in:
parent
bddc63a234
commit
10e713323d
@ -716,7 +716,7 @@ linters-settings:
|
|||||||
# Default: 1.13
|
# Default: 1.13
|
||||||
# Deprecated: use the global `run.go` instead.
|
# Deprecated: use the global `run.go` instead.
|
||||||
go: "1.15"
|
go: "1.15"
|
||||||
# https://staticcheck.io/docs/options#checks
|
# https://staticcheck.io/docs/configuration/options/#checks
|
||||||
# Default: ["*"]
|
# Default: ["*"]
|
||||||
checks: [ "all" ]
|
checks: [ "all" ]
|
||||||
|
|
||||||
@ -1585,7 +1585,7 @@ linters-settings:
|
|||||||
# Default: "1.13"
|
# Default: "1.13"
|
||||||
# Deprecated: use the global `run.go` instead.
|
# Deprecated: use the global `run.go` instead.
|
||||||
go: "1.15"
|
go: "1.15"
|
||||||
# https://staticcheck.io/docs/options#checks
|
# https://staticcheck.io/docs/configuration/options/#checks
|
||||||
# Default: ["*"]
|
# Default: ["*"]
|
||||||
checks: [ "all" ]
|
checks: [ "all" ]
|
||||||
|
|
||||||
@ -1594,17 +1594,17 @@ linters-settings:
|
|||||||
# Default: 1.13
|
# Default: 1.13
|
||||||
# Deprecated: use the global `run.go` instead.
|
# Deprecated: use the global `run.go` instead.
|
||||||
go: "1.15"
|
go: "1.15"
|
||||||
# https://staticcheck.io/docs/options#checks
|
# https://staticcheck.io/docs/configuration/options/#checks
|
||||||
# Default: ["*"]
|
# Default: ["*"]
|
||||||
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
|
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"]
|
# Default: ["github.com/mmcloughlin/avo/build", "github.com/mmcloughlin/avo/operand", "github.com/mmcloughlin/avo/reg"]
|
||||||
dot-import-whitelist:
|
dot-import-whitelist:
|
||||||
- fmt
|
- 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"]
|
# 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" ]
|
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"]
|
# Default: ["200", "400", "404", "500"]
|
||||||
http-status-code-whitelist: [ "200", "400", "404", "500" ]
|
http-status-code-whitelist: [ "200", "400", "404", "500" ]
|
||||||
|
|
||||||
@ -1882,7 +1882,7 @@ linters:
|
|||||||
# Default: false
|
# Default: false
|
||||||
disable-all: true
|
disable-all: true
|
||||||
# Enable specific linter
|
# Enable specific linter
|
||||||
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
|
# https://golangci-lint.run/usage/linters/#enabled-by-default
|
||||||
enable:
|
enable:
|
||||||
- asasalint
|
- asasalint
|
||||||
- asciicheck
|
- asciicheck
|
||||||
@ -1987,7 +1987,7 @@ linters:
|
|||||||
# Default: false
|
# Default: false
|
||||||
enable-all: true
|
enable-all: true
|
||||||
# Disable specific linter
|
# 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:
|
disable:
|
||||||
- asasalint
|
- asasalint
|
||||||
- asciicheck
|
- asciicheck
|
||||||
@ -2215,7 +2215,7 @@ severity:
|
|||||||
# this will be the default severity applied.
|
# this will be the default severity applied.
|
||||||
# Severities should match the supported severity names of the selected out format.
|
# Severities should match the supported severity names of the selected out format.
|
||||||
# - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity
|
# - 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
|
# - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
|
||||||
#
|
#
|
||||||
# Default value is an empty string.
|
# Default value is an empty string.
|
||||||
|
@ -8,7 +8,7 @@ IMPORTANT: `varcheck` and `deadcode` has been removed of default linters.
|
|||||||
1. new linters
|
1. new linters
|
||||||
* `interfacebloat`: https://github.com/sashamelentyev/interfacebloat
|
* `interfacebloat`: https://github.com/sashamelentyev/interfacebloat
|
||||||
* `logrlint`: https://github.com/timonwong/logrlint
|
* `logrlint`: https://github.com/timonwong/logrlint
|
||||||
* `reassign`: https://github.com/curioswitch/go-reass
|
* `reassign`: https://github.com/curioswitch/go-reassign
|
||||||
2. updated linters
|
2. updated linters
|
||||||
* `go-colorable`: from 0.1.12 to 0.1.13
|
* `go-colorable`: from 0.1.12 to 0.1.13
|
||||||
* `go-critic`: from 0.6.3 to 0.6.4
|
* `go-critic`: from 0.6.3 to 0.6.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user