Skip to content

Commit 547f14c

Browse files
committed
chore: replace exportloopref by copyloopvar and intrange
1 parent 1bd9705 commit 547f14c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,16 @@ linters:
106106
disable-all: true
107107
enable:
108108
- bodyclose
109+
- copyloopvar
109110
- depguard
110111
- dogsled
111112
- dupl
112113
- errcheck
113114
- errorlint
114-
- exportloopref
115115
- funlen
116116
- gocheckcompilerdirectives
117117
- gochecknoinits
118+
- gochecknoinits
118119
- goconst
119120
- gocritic
120121
- gocyclo
@@ -126,6 +127,7 @@ linters:
126127
- gosec
127128
- gosimple
128129
- govet
130+
- intrange
129131
- ineffassign
130132
- lll
131133
- misspell

0 commit comments

Comments
 (0)