mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
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:
@ -13,6 +13,17 @@ linters:
|
|||||||
enable-all: true
|
enable-all: true
|
||||||
disable:
|
disable:
|
||||||
# All these break for one reason or another
|
# 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
|
- tagliatelle # too many JSON keys cannot be changed due to compat
|
||||||
- nosnakecase # too many false positives due to the `unix` package
|
- nosnakecase # too many false positives due to the `unix` package
|
||||||
- dupword # too many false positives (e.g., in tests)
|
- dupword # too many false positives (e.g., in tests)
|
||||||
|
2
Makefile
2
Makefile
@ -941,7 +941,7 @@ install.tools: .install.golangci-lint ## Install needed tools
|
|||||||
|
|
||||||
.PHONY: .install.golangci-lint
|
.PHONY: .install.golangci-lint
|
||||||
.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
|
.PHONY: .install.swagger
|
||||||
.install.swagger:
|
.install.swagger:
|
||||||
|
Reference in New Issue
Block a user