upgrade golang-lint to the latest (#15600)

This commit is contained in:
Harshavardhana
2022-08-26 12:52:29 -07:00
committed by GitHub
parent d7cd857c7c
commit 433b6fa8fe
54 changed files with 357 additions and 305 deletions

View File

@@ -1,8 +1,9 @@
linters-settings:
golint:
min-confidence: 0
gofumpt:
lang-version: "1.17"
lang-version: "1.18"
# Choose whether or not to use the extra rules that are disabled
# by default
@@ -20,11 +21,10 @@ linters:
- govet
- revive
- ineffassign
- deadcode
- gomodguard
- gofmt
- unconvert
- varcheck
- unused
- gocritic
- gofumpt
- tenv