Skip to content

Commit

Permalink
Remove deprecated golangci linters (#3409)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MrAlias committed Oct 31, 2022
1 parent 3b9862a commit c8a13d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Expand Up @@ -9,7 +9,6 @@ linters:
disable-all: true
# Specifically enable linters we want to use.
enable:
- deadcode
- depguard
- errcheck
- godot
Expand All @@ -21,10 +20,8 @@ linters:
- misspell
- revive
- staticcheck
- structcheck
- typecheck
- unused
- varcheck

issues:
# Maximum issues count per one linter.
Expand Down

0 comments on commit c8a13d6

Please sign in to comment.