ale/ale_linters/ansible/ansible-lint.vim

10 lines
280 B
VimL
Raw Normal View History

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