fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar (#4167)

Co-authored-by: huangzw <huangzw@2345.com>
This commit is contained in:
Name 2025-03-18 23:13:03 +08:00 committed by GitHub
parent 733ee094fc
commit ebe5e2a6bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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