alecthomas / gometalinter

DEPRECATED: Use https://github.com/golangci/golangci-lint
MIT License
3.51k stars 267 forks source link

Unknown Linter error #515

Closed axelbarfod1 closed 6 years ago

axelbarfod1 commented 6 years ago

I installed, gometalinter and added the following json:

{
    "Enable": ["golint", "dupl", "deadcode", "go tool vet --shadow", "structcheck", "errcheck", "unconvert", "goconst"]
}

When I run gometalinter I'm getting the following error:

gometalinter: error: unknown linters: go tool vet --shadow

This was working fine last week, did something change ?

alecthomas commented 6 years ago

I don't believe that ever would have worked. Enable is a list of linter IDs, so to enable vet shadow you would need to use vetshadow.