Add puppet linters (#183)

* Start adding Puppet linters

* Use the correct output stream for puppet parser

* Finish Puppet and puppet-lint linters

* Add Puppet information to documentation
This commit is contained in:
Alexander "Ace" Olofsson
2016-11-25 13:00:07 +01:00
committed by w0rp
parent da37989960
commit e03df80a09
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
" Author: Alexander Olofsson <alexander.olofsson@liu.se>
call ale#linter#Define('puppet', {
\ 'name': 'puppetlint',
\ 'executable': 'puppet-lint',
\ 'command': g:ale#util#stdin_wrapper . ' .pp puppet-lint --no-autoloader_layout-check --log-format "-:%{line}:%{column}: %{kind}: [%{check}] %{message}"',
\ 'callback': 'ale#handlers#HandleGCCFormat',
\})