Skip to content

Google's x/tools (of gopls fame) added a new deadcode tool recently #3977

Closed Answered by ldez
tombh asked this question in Ideas
Discussion options

You must be logged in to vote

Hello,

deadcode is a pure command line (package main only => cannot be used as a lib) and not based on go/analysis API.

golangci-lint is based on the go/analysis API to optimize the runs of the different linters.

The idea is interesting but it's not a good candidate for golangci-lint.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tombh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants