From 2f3c7c55fc89e06b5da6758758fd059f2a38ddfb Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 13 Aug 2024 13:54:06 -0400 Subject: [PATCH] .golangci.yml: switch deprecated check-shadowing to shadow golangci-lint 1.59.1 reports: WARN [config_reader] The configuration option `linters.govet.check-shadowing` is deprecated. Please enable `shadow` instead, if you are not using `enable-all`. --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 76605b8b..0492ce36 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,7 @@ linters-settings: errcheck: check-type-assertions: true govet: - check-shadowing: true + shadow: true unparam: check-exported: true unused: