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

call ale#linter#Define('go', {
\   'name': 'staticcheck',
\   'executable': 'staticcheck',
\   'command': 'staticcheck %t',
\   'callback': 'ale#handlers#HandleUnixFormatAsWarning',
\})