Skip to content

Commit

Permalink
the linter varcheck and deadcode are deprecated (since v1.49.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
(cherry picked from commit c110817)
  • Loading branch information
Fish-pro authored and mattfarina committed Mar 8, 2023
1 parent d44881d commit 321d3f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ run:
linters:
disable-all: true
enable:
- deadcode
- dupl
- gofmt
- goimports
Expand All @@ -15,7 +14,6 @@ linters:
- nakedret
- revive
- unused
- varcheck
- staticcheck

linters-settings:
Expand Down

0 comments on commit 321d3f3

Please sign in to comment.