From 1dd4a412b0c94550970056ea75270d7b76feb895 Mon Sep 17 00:00:00 2001 From: tuunit Date: Wed, 25 Sep 2024 14:07:11 +0200 Subject: [PATCH] add new loop var linter for go1.22 and remove unnecessary exportloopref linter --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 2f081a6..9c56aa9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,7 +17,7 @@ linters: - goprintffuncname - misspell - prealloc - - exportloopref + - copyloopvar - stylecheck - unconvert - gocritic