[#25] .golangci.yml: Replace exportloopref with copyloopvar
All checks were successful
Tests and linters / Build lib (pull_request) Successful in 53s
Tests and linters / Tests (pull_request) Successful in 1m10s
Tests and linters / Staticcheck (pull_request) Successful in 1m26s
Tests and linters / Lint (pull_request) Successful in 3m38s

Fix the warning:
```
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: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-28 14:23:27 +03:00
parent 7fbd18be41
commit 007db8eff4

View file

@ -47,7 +47,7 @@ linters:
- bidichk
- durationcheck
- exhaustive
- exportloopref
- copyloopvar
- gofmt
- goimports
- misspell