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 authored and w0rp committed 2016-11-25 12:00:07 +00:00
1 parent da37989960
commit e03df80a09
4 files changed
+48

No files matched your search

+8
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',
\})