Merge pull request #865 from jez/erubis-linter

Add erubis linter
This commit is contained in:
w0rp
2017-08-22 10:33:08 +01:00
committed by GitHub
4 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
" Author: Jake Zimmerman <jake@zimmerman.io>
" Description: eruby checker using `erubis`, instead of `erb`
call ale#linter#Define('eruby', {
\ 'name': 'erubis',
\ 'executable': 'erubis',
\ 'output_stream': 'stderr',
\ 'command': 'erubis -x %t | ruby -c',
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})