summaryrefslogtreecommitdiff
path: root/ale_linters/go/golint.vim
AgeCommit message (Collapse)Author
2019-07-01Support $GO111MODULE with Go toolingElias Martinez Cohen
Allows the user to override $GO111MODULE environment variable through ale options. This gives control over the default behavior of Go module resolution. Golang documentation: https://github.com/golang/go/wiki/Modules#how-to-use-modules Add `ale#Go#EnvString()` function to make it easy to add similar Go environment variables in the future. Use the new `EnvString` function in all available Go tools callbacks & update tests Also add test of linter command callback for `gofmt`
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2018-11-11Fix #2054 - Make golint configurablew0rp
2017-11-15Fix #1131 - Capture both output streams for golintw0rp
2017-11-09add 'output_stream': 'stderr', let golint workwuqiong4945
2017-04-24Break shared handlers up into their own files, and fix stylelint error handlingw0rp
2017-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2016-10-21Add support for dot-seperate linters, improve linter testsBjorn Neergaard
This PR first and formost implements support for dot-seperate filetypes, a very trivial change. This closes #132 But more importantly, this PR vastly improves the test quality for `ale#linter#Get`. It enables us to reset the state of ale's internal linter cache, to facilitate better testing, as well as making use of mocked linters instead of depending on linters on disk (which may change). In addition, a dummy linter is defined to test the autoloading behavior. Header guards were removed from all linters as: * A: ale won't try and load linters if they already exist in memory * B: we can't reset state for testing if they can't be loaded again
2016-10-11Introduce generic unix formatterBjorn Neergaard
Two wrapper functions allow treating lines as errors or as warnings
2016-10-11Introduce golang supportBjorn Neergaard
This includes go vet, golint, and gofmt -e