Fix #936 - Check the actual files for gosimple and staticcheck

This commit is contained in:
w0rp
2017-10-31 13:00:55 +00:00
parent 34171774eb
commit 39f15811c3
4 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -4,7 +4,8 @@
call ale#linter#Define('go', {
\ 'name': 'gosimple',
\ 'executable': 'gosimple',
\ 'command': 'gosimple %t',
\ 'command': 'gosimple %s',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\ 'output_stream': 'both'
\ 'output_stream': 'both',
\ 'lint_file': 1,
\})
+3 -2
View File
@@ -4,7 +4,8 @@
call ale#linter#Define('go', {
\ 'name': 'staticcheck',
\ 'executable': 'staticcheck',
\ 'command': 'staticcheck %t',
\ 'command': 'staticcheck %s',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\ 'output_stream': 'both'
\ 'output_stream': 'both',
\ 'lint_file': 1,
\})