Skip to content

Commit

Permalink
lint: replace exportloopref by copyloopvar
Browse files Browse the repository at this point in the history
```
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since
Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
```

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
  • Loading branch information
End-rey committed Aug 23, 2024
1 parent bd2276d commit d31aef2
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 @@ -47,7 +47,7 @@ linters:
- bidichk
- durationcheck
- exhaustive
- exportloopref
- copyloopvar
- gofmt
- goimports
- gomodguard
Expand Down

0 comments on commit d31aef2

Please sign in to comment.