It would be nice to setup golangci-lint with more linters (like `errcheck`). The golangci-lint config could either be unified too, or let various repos enable linters they like (sounds more of a pain than anything). For the list of linters, I think the best is to add them when needed, I would do: - `staticcheck` (current, move to `golangci-lint`) - `go vet` (current, move to `golangci-lint`) - `errcheck` (new, see https://github.com/ipfs/go-unixfs/pull/133)
It would be nice to setup golangci-lint with more linters (like
errcheck).The golangci-lint config could either be unified too, or let various repos enable linters they like (sounds more of a pain than anything).
For the list of linters, I think the best is to add them when needed, I would do:
staticcheck(current, move togolangci-lint)go vet(current, move togolangci-lint)errcheck(new, see Update builder.go ipfs/go-unixfs#133)