Skip to content

Commit

Permalink
ci: exportloopref was renamed to copyloopvar
Browse files Browse the repository at this point in the history
This remove the warning from golangci-lint

The linter 'exportloopref' is deprecated (since v1.60.2)
Since Go1.22 this linter is no longer relevant. Replaced by copyloopvar.
  • Loading branch information
ccoVeille committed Jan 19, 2025
1 parent f31d22e commit 9607657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ linters:
enable:
- asciicheck
- bodyclose
- copyloopvar
- dogsled
- dupl
- err113
- errcheck
- errorlint
- exhaustive
- exportloopref
- funlen
- gci
- gochecknoglobals
Expand Down

0 comments on commit 9607657

Please sign in to comment.