Skip to content

Commit c8a13d6

Browse files
authored
Remove deprecated golangci linters (#3409)
The "deadcode", "structcheck", and "varcheck" linters are deprecated by golangci-lint. It is recommended by that project to use "unused" instead. The "unused" linter is already enabled, so this just removes the deprecated linters.
1 parent 3b9862a commit c8a13d6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.golangci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ linters:
99
disable-all: true
1010
# Specifically enable linters we want to use.
1111
enable:
12-
- deadcode
1312
- depguard
1413
- errcheck
1514
- godot
@@ -21,10 +20,8 @@ linters:
2120
- misspell
2221
- revive
2322
- staticcheck
24-
- structcheck
2523
- typecheck
2624
- unused
27-
- varcheck
2825

2926
issues:
3027
# Maximum issues count per one linter.

0 commit comments

Comments
 (0)