Skip to content

Commit d5d36fa

Browse files
author
huangzw
committed
fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar
1 parent 3b28645 commit d5d36fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.golangci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ linters:
77
- durationcheck
88
- errcheck
99
- errorlint
10-
- exportloopref
10+
- copyloopvar
1111
- gci
1212
- gofmt
1313
- goimports
@@ -39,10 +39,11 @@ linters-settings:
3939
perfsprint:
4040
err-error: true
4141
errorf: true
42-
fiximports: true
4342
int-conversion: true
4443
sprintf1: true
4544
strconcat: true
45+
goimports:
46+
fiximports: true
4647
testifylint:
4748
enable-all: true
4849

0 commit comments

Comments
 (0)