From 8658d13d76d7fa880bfddbacc64f50dc44800064 Mon Sep 17 00:00:00 2001 From: Matty Evans Date: Mon, 4 Nov 2024 08:55:00 +1000 Subject: [PATCH] build(lint): update deprecated cfg + replace exportloopref w/ copyloopvar --- .golangci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index f9348a7c..4e8c0a62 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,8 @@ linters-settings: - performance - style govet: - check-shadowing: true + enable: + - shadow nolintlint: require-explanation: true require-specific: true @@ -29,7 +30,7 @@ linters: - durationcheck - errcheck - errname - - exportloopref + - copyloopvar - goconst - gocritic - gocyclo