Skip to content

Commit 79e51a5

Browse files
committed
Replace exportloopref linter with copyloopvar
Recent golangci-lint linter refuses to run with deprecated linter referenced in "combined" image `.golangci.yml` config file. refs GH-1942
1 parent 6e57b46 commit 79e51a5

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)