ale/ale_linters/ansible/ansible-lint.vim

10 lines
310 B
VimL
Raw Normal View History

2016-10-20 14:26:56 +00:00
" Author: Bjorn Neergaard <bjorn@neersighted.com>
" Description: ansible-lint for ansible-yaml files
call ale#linter#Define('ansible', {
\ 'name': 'ansible',
\ 'executable': 'ansible',
\ 'command': g:ale#util#stdin_wrapper . ' .yml ansible-lint -p',
\ 'callback': 'ale#handlers#HandlePEP8Format',
\})