From 7f2d8ae80b1cbb610e213952e9c34f2c984f7321 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 21:47:09 +0000 Subject: [PATCH] [CI:DOCS] Update dependency golangci/golangci-lint to v1.56.1 Disable the `perfsprint` and `typecheck` linters as they are too noisy. There are some good issues worthy of fixing but it's too time consuming at the moment. Hence, let's unblock the PR. Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Valentin Rothberg --- .golangci.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 8eed284d70..c095e4519e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,6 +15,8 @@ linters: # too many reports but requires attention - depguard - tagalign + - perfsprint + - typecheck # useful hints that should be addressed - testifylint # all of reports that should be fixed - nakedret diff --git a/Makefile b/Makefile index 7645c9d006..1301285da5 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ 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.55.2 +GOLANGCI_LINT_VERSION := 1.56.1 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