diff options
Diffstat (limited to 'ale_linters/go')
-rw-r--r-- | ale_linters/go/gosimple.vim | 9 | ||||
-rw-r--r-- | ale_linters/go/staticcheck.vim | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/ale_linters/go/gosimple.vim b/ale_linters/go/gosimple.vim new file mode 100644 index 00000000..09ea40b8 --- /dev/null +++ b/ale_linters/go/gosimple.vim @@ -0,0 +1,9 @@ +" Author: Ben Reedy <https://github.com/breed808> +" Description: gosimple for Go files + +call ale#linter#Define('go', { +\ 'name': 'gosimple', +\ 'executable': 'gosimple', +\ 'command': 'gosimple %t', +\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning', +\}) diff --git a/ale_linters/go/staticcheck.vim b/ale_linters/go/staticcheck.vim new file mode 100644 index 00000000..711e2ce2 --- /dev/null +++ b/ale_linters/go/staticcheck.vim @@ -0,0 +1,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', +\}) |