summaryrefslogtreecommitdiff
path: root/ale_linters/go/govet.vim
AgeCommit message (Collapse)Author
2021-03-01Close #2281 - Separate cwd commands from commandsw0rp
Working directories are now set seperately from the commands so they can later be swapped out when running linters over projects is supported, and also better support filename mapping for running linters on other machines in future.
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-09-19Add fixer for Go modules (#1873)Martin Tournoij
* Add fixer for Go modules
2018-09-04Improve ALE project style checkingw0rp
* The project style linter now runs while you type. * Now the scripts for checking the project require blank lines. * Many style issues have been found and fixed.
2018-08-16feat: add ale_go_govet_options variabletyru
2018-07-24#1754 Require snake_case names for linters in the codebasew0rp
2018-03-20Use govet handler for gosimple, gotype, staticcheckBen Paxton
2018-02-25Fix #1358, fix #1369 - Lint the package on save for go vet insteadJohn Eikenberry
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