2017-03-30 01:42:16 +00:00
|
|
|
" Author: Ben Reedy <https://github.com/breed808>
|
|
|
|
" Description: staticcheck for Go files
|
|
|
|
|
|
|
|
call ale#linter#Define('go', {
|
|
|
|
\ 'name': 'staticcheck',
|
|
|
|
\ 'executable': 'staticcheck',
|
2017-10-31 13:00:55 +00:00
|
|
|
\ 'command': 'staticcheck %s',
|
2017-04-24 21:27:18 +00:00
|
|
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
2017-10-31 13:00:55 +00:00
|
|
|
\ 'output_stream': 'both',
|
|
|
|
\ 'lint_file': 1,
|
2017-03-30 01:42:16 +00:00
|
|
|
\})
|