mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 08:32:24 +00:00
12 lines
321 B
VimL
12 lines
321 B
VimL
" 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,
|
|
\})
|