alecthomas / SublimeLinter-contrib-gometalinter

SublimeLinter plugin for gometalinter
MIT License
47 stars 13 forks source link

Allow user to choose which linters are run #22

Open alexedwards opened 6 years ago

alexedwards commented 6 years ago

There are a couple of 'slow' linters that I'd ideally like the SublimeLinter-contrib-gometalinter plugin to run, especially varcheck.

Given that gometalinter supports enabling/disabling of individual linters, could SublimeLinter-contrib-gometalinter be extended to allow a custom configuration of linters via a SublimeText settings file? Something like:


{
  "linters": [
    "go vet",
    "golint",
    "varcheck",
    "errcheck",
    ...
  ]
}