bump golangci-lint to v1.53.3

Disable new linters and drop comments on them.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2023-06-19 14:04:01 +02:00
parent f9844521bd
commit a35da3ad87
2 changed files with 12 additions and 1 deletions

View File

@ -13,6 +13,17 @@ linters:
enable-all: true
disable:
# All these break for one reason or another
- rowserrcheck # FIXME (urgent): sqlite error checking
# too many reports but requires attention
- depguard
- revive
- tagalign
# useful hints that should be addressed
- ginkgolinter
- nakedret
- mirror
- wastedassign
- gosmopolitan # usage of time.Local in pkg/k8s.io
- tagliatelle # too many JSON keys cannot be changed due to compat
- nosnakecase # too many false positives due to the `unix` package
- dupword # too many false positives (e.g., in tests)

View File

@ -941,7 +941,7 @@ install.tools: .install.golangci-lint ## Install needed tools
.PHONY: .install.golangci-lint
.install.golangci-lint:
VERSION=1.51.1 ./hack/install_golangci.sh
VERSION=1.53.3 ./hack/install_golangci.sh
.PHONY: .install.swagger
.install.swagger: