Skip to content

Commit 51f9218

Browse files
committed
docs: remove deprecated "go" option for staticcheck
The default value is always overridden by the global "run.go:".
1 parent 55d800e commit 51f9218

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.golangci.reference.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,6 @@ linters-settings:
770770
local_replace_directives: false
771771

772772
gosimple:
773-
# Select the Go version to target.
774-
# Default: 1.13
775-
# Deprecated: use the global `run.go` instead.
776-
go: "1.15"
777773
# Sxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
778774
# Default: ["*"]
779775
checks: [ "all" ]
@@ -1685,19 +1681,11 @@ linters-settings:
16851681
- github.com/jmoiron/sqlx
16861682

16871683
staticcheck:
1688-
# Select the Go version to target.
1689-
# Default: "1.13"
1690-
# Deprecated: use the global `run.go` instead.
1691-
go: "1.15"
16921684
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
16931685
# Default: ["*"]
16941686
checks: [ "all" ]
16951687

16961688
stylecheck:
1697-
# Select the Go version to target.
1698-
# Default: 1.13
1699-
# Deprecated: use the global `run.go` instead.
1700-
go: "1.15"
17011689
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
17021690
# Default: ["*"]
17031691
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]

0 commit comments

Comments
 (0)