From 1450cb0a057532a5c5e256d248114a9e8f787137 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 11 Jul 2024 21:11:28 +0400 Subject: [PATCH] lint: Drop no-op `govet` config According to https://golangci-lint.run/usage/linters/#govet, `check-shadowing` no longer exists. Now it should be ```yaml govet: disable: [shadow] ``` but `shadow` is disabled by default. Thus, whole `govet` section is not needed anymore. ``` $ golangci-lint --version golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z ``` Signed-off-by: Leonard Lyubich --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index c370094873..93ad3de708 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,7 +28,7 @@ linters-settings: replacement: 'any' govet: # report about shadowed variables - check-shadowing: false + enable: [shadow] gomodguard: blocked: modules: