Skip to content

Commit 8e6a32f

Browse files
committed
chore: update go linting
level=warning msg="[lintersdb] The name \"vet\" is deprecated. The linter has been renamed to: govet." level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar." level=warning msg="The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature another linter. Replaced by usetesting." level=error msg="[linters_context] exportloopref: This linter is fully inactivated: it will not produce any reports."
1 parent 83184bb commit 8e6a32f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ linters:
99
enable:
1010
- durationcheck
1111
- errcheck
12-
- exportloopref
12+
- copyloopvar
1313
- forcetypeassert
1414
- godot
1515
- gofmt
@@ -20,8 +20,8 @@ linters:
2020
- nilerr
2121
- predeclared
2222
- staticcheck
23-
- tenv
23+
- usetesting
2424
- unconvert
2525
- unparam
2626
- unused
27-
- vet
27+
- govet

0 commit comments

Comments
 (0)