Skip to content

Commit

Permalink
golangci-lint: remove deprecated linters
Browse files Browse the repository at this point in the history
This fixes:
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
  • Loading branch information
fho committed Sep 22, 2022
1 parent 24465f0 commit 4fd2c57
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
linters:
disable-all: true
enable:
- deadcode
- errcheck
- exportloopref
- goimports
Expand All @@ -13,11 +12,9 @@ linters:
- rowserrcheck
- sqlclosecheck
- staticcheck
- structcheck
- typecheck
- unconvert
- unused
- varcheck
- vet

linters-settings:
Expand Down

0 comments on commit 4fd2c57

Please sign in to comment.