|
|
|
@ -58,7 +58,6 @@ run:
|
|
|
|
|
skip-files:
|
|
|
|
|
- ".*\\.my\\.go$"
|
|
|
|
|
- _test.go
|
|
|
|
|
- ".*\\.pb\\.go"
|
|
|
|
|
|
|
|
|
|
# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":
|
|
|
|
|
# If invoked with -mod=readonly, the go command is disallowed from the implicit
|
|
|
|
@ -296,7 +295,7 @@ linters-settings:
|
|
|
|
|
simplify: true
|
|
|
|
|
|
|
|
|
|
gofumpt:
|
|
|
|
|
# Select the Go version to target. The default is `1.20`.
|
|
|
|
|
# Select the Go version to target. The default is `1.18`.
|
|
|
|
|
lang-version: "1.20"
|
|
|
|
|
|
|
|
|
|
# Choose whether or not to use the extra rules that are disabled
|
|
|
|
@ -584,13 +583,13 @@ linters-settings:
|
|
|
|
|
severity: warning
|
|
|
|
|
staticcheck:
|
|
|
|
|
# Select the Go version to target. The default is '1.13'.
|
|
|
|
|
go: "1.20"
|
|
|
|
|
go: "1.16"
|
|
|
|
|
# https://staticcheck.io/docs/options#checks
|
|
|
|
|
checks: [ "all" ]
|
|
|
|
|
|
|
|
|
|
stylecheck:
|
|
|
|
|
# Select the Go version to target. The default is '1.13'.
|
|
|
|
|
go: "1.20"
|
|
|
|
|
go: "1.16"
|
|
|
|
|
|
|
|
|
|
# https://staticcheck.io/docs/options#checks
|
|
|
|
|
checks: [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ]
|
|
|
|
|