Skip to content

Commit

Permalink
[chore] Remove deprecated linters (#2039)
Browse files Browse the repository at this point in the history
* [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
  • Loading branch information
carterqw2 authored Apr 14, 2023
1 parent 4969b78 commit 7b04505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ jobs:
message-id: test-summary
# TODO: figure out if we need a token
- name: Upload coverage to codecov
if: always()
uses: codecov/codecov-action@v3

race:
Expand Down
4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ run:
linters:
disable-all: true
enable:
- deadcode
- goconst
- goimports
- gosimple
Expand All @@ -21,8 +20,7 @@ linters:
- misspell
# - staticcheck
- unconvert
# - unused
- varcheck
- unused

# - gosec
# - errcheck
Expand Down

0 comments on commit 7b04505

Please sign in to comment.