Skip to content

Commit 5967201

Browse files
docs: specify what code checks are related to staticcheck sub-linter (#3215)
1 parent f072d55 commit 5967201

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.golangci.reference.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ linters-settings:
735735
# Default: 1.13
736736
# Deprecated: use the global `run.go` instead.
737737
go: "1.15"
738-
# https://staticcheck.io/docs/configuration/options/#checks
738+
# Sxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
739739
# Default: ["*"]
740740
checks: [ "all" ]
741741

@@ -1630,7 +1630,7 @@ linters-settings:
16301630
# Default: "1.13"
16311631
# Deprecated: use the global `run.go` instead.
16321632
go: "1.15"
1633-
# https://staticcheck.io/docs/configuration/options/#checks
1633+
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
16341634
# Default: ["*"]
16351635
checks: [ "all" ]
16361636

@@ -1639,7 +1639,7 @@ linters-settings:
16391639
# Default: 1.13
16401640
# Deprecated: use the global `run.go` instead.
16411641
go: "1.15"
1642-
# https://staticcheck.io/docs/configuration/options/#checks
1642+
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
16431643
# Default: ["*"]
16441644
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
16451645
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist

0 commit comments

Comments
 (0)