Skip to content

Commit 72dea66

Browse files
davidhsingyuchenSeigeC
authored andcommitted
docs: specify what code checks are related to staticcheck sub-linter (golangci#3215)
1 parent 8103f30 commit 72dea66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.golangci.reference.yml

Lines changed: 3 additions & 3 deletions
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

@@ -1655,7 +1655,7 @@ linters-settings:
16551655
# Default: "1.13"
16561656
# Deprecated: use the global `run.go` instead.
16571657
go: "1.15"
1658-
# https://staticcheck.io/docs/configuration/options/#checks
1658+
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
16591659
# Default: ["*"]
16601660
checks: [ "all" ]
16611661

@@ -1664,7 +1664,7 @@ linters-settings:
16641664
# Default: 1.13
16651665
# Deprecated: use the global `run.go` instead.
16661666
go: "1.15"
1667-
# https://staticcheck.io/docs/configuration/options/#checks
1667+
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
16681668
# Default: ["*"]
16691669
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
16701670
# https://staticcheck.io/docs/configuration/options/#dot_import_whitelist

0 commit comments

Comments
 (0)