Skip to content

Commit 8209946

Browse files
authored
Merge pull request #1945 from atc0005/i1942-replace-inactivated-exportloopref-linter
Replace `exportloopref` linter with `copyloopvar`
2 parents 6e57b46 + 79e51a5 commit 8209946

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

oldstable/combined/.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ linters:
2929
# - depguard
3030
- dogsled
3131
- dupl
32-
- exportloopref
32+
- copyloopvar
3333
- goconst
3434
- gocritic
3535
- gofmt

stable/combined/.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ linters:
2929
# - depguard
3030
- dogsled
3131
- dupl
32-
- exportloopref
32+
- copyloopvar
3333
- goconst
3434
- gocritic
3535
- gofmt

unstable/combined/.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ linters:
3838
- dupl
3939
- err113
4040
- errcheck
41-
- exportloopref
41+
- copyloopvar
4242
- gochecknoglobals
4343
- gocognit
4444
- goconst

0 commit comments

Comments
 (0)