Skip to content

Commit 604dafa

Browse files
author
Valentin Rodygin
committed
[chore] Remove deprecated linters
Linters varcheck and deadcode were deprecated since v1.49.0 because the owners have abandoned them. Both are replaced with unused, see details here golangci/golangci-lint#1841
1 parent 43d9795 commit 604dafa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.golangci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ run:
1212
linters:
1313
disable-all: true
1414
enable:
15-
- deadcode
1615
- goconst
1716
- goimports
1817
- gosimple
@@ -21,8 +20,7 @@ linters:
2120
- misspell
2221
# - staticcheck
2322
- unconvert
24-
# - unused
25-
- varcheck
23+
- unused
2624

2725
# - gosec
2826
# - errcheck

0 commit comments

Comments
 (0)