mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
update golangci-lint to 1.58
disable linters: - mnd (magic number checker): it seems to complain about almost anything, while there might be a few valid findings most of them are useless - canonicalheader: HTTP header syntax, most of the header are given by docker and are stable so we cannot change them anyway - execinquery: it has been deprecated goerr113 was renamed to err113 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -62,7 +62,7 @@ BUILDTAGS += ${EXTRA_BUILDTAGS}
|
||||
# N/B: This value is managed by Renovate, manual changes are
|
||||
# possible, as long as they don't disturb the formatting
|
||||
# (i.e. DO NOT ADD A 'v' prefix!)
|
||||
GOLANGCI_LINT_VERSION := 1.57.2
|
||||
GOLANGCI_LINT_VERSION := 1.58.0
|
||||
PYTHON ?= $(shell command -v python3 python|head -n1)
|
||||
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
|
||||
# ~/.local/bin is not in PATH on all systems
|
||||
|
||||
Reference in New Issue
Block a user