summaryrefslogtreecommitdiff
path: root/ale_linters/go/staticcheck.vim
blob: 255fd17c5a4cbe65f8adb7ba3af5e25816e9a070 (plain)
1
2
3
4
5
6
7
8
9
10
11
" Author: Ben Reedy <https://github.com/breed808>
" Description: staticcheck for Go files

call ale#linter#Define('go', {
\   'name': 'staticcheck',
\   'executable': 'staticcheck',
\   'command': 'staticcheck %s',
\   'callback': 'ale#handlers#unix#HandleAsWarning',
\   'output_stream': 'both',
\   'lint_file': 1,
\})