Skip to content

Commit f2452b6

Browse files
authored
chore: remove exportloopref (#2715)
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.
1 parent 42b8bb6 commit f2452b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.golangci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ linters:
1717
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
1818
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted. [fast: false, auto-fix: false]
1919
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false]
20-
- exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
2120
- forbidigo # Forbids identifiers [fast: true, auto-fix: false]
2221
- gci # Gci controls golang package import order and makes it always deterministic. [fast: true, auto-fix: false]
2322
- gocheckcompilerdirectives # Checks that go compiler directive comments (//go:) are valid. [fast: true, auto-fix: false]

0 commit comments

Comments
 (0)