alecthomas / SublimeLinter-contrib-gometalinter

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

gometalinter deactivated, cannot locate '' #17

Closed salarali closed 6 years ago

salarali commented 6 years ago

Since upgrading to SublimeLinter to 4.0, gometalinter doesnt work.

All I get is this warning: SublimeLinter: SublimeLinter.sublime-package:1063: WARNING: gometalinter deactivated, cannot locate ''

SublimeLinter Version: 4.0.6 GoMetaLinter Version: 4.0.4

My config:

// SublimeLinter Settings - User
{
    "debug": true,
    "linters": {
        "gometalinter": {
            "@disable": false,
            "args": [
                "--disable-all",
                "--enable=vet",
                "--enable=vetshadow",
                "--enable=golint",
                "--enable=ineffassign",
                "--enable=goconst",
                "--enable=deadcode",
                "--enable=megacheck"
            ],
            "excludes": []
        },
    }
}
alecthomas commented 6 years ago

I think this is an issue with SublimeLinter not this plugin.

salarali commented 6 years ago

You were right. Apparently, SublimeLinter did not have the path for gometalinter. Also this error changed to WARNING: gometalinter deactivated, cannot locate 'gometalinter' in the SublimeLinter 4.1 which helped me narrow down the problem.