From d5d36fac7ef732b13242aaaa19706b985abb94ae Mon Sep 17 00:00:00 2001 From: huangzw Date: Wed, 26 Feb 2025 12:48:01 +0800 Subject: [PATCH] fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar --- .golangci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index ccb26684..b50a911b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,7 +7,7 @@ linters: - durationcheck - errcheck - errorlint - - exportloopref + - copyloopvar - gci - gofmt - goimports @@ -39,10 +39,11 @@ linters-settings: perfsprint: err-error: true errorf: true - fiximports: true int-conversion: true sprintf1: true strconcat: true + goimports: + fiximports: true testifylint: enable-all: true