Skip to content

Commit fa3afa3

Browse files
author
Nicolas SCHMAUCH
committed
Add j2lint linter for Jinja2 templates
1 parent 4217461 commit fa3afa3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ale_linters/jinja2/j2lint.vim

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
" Description: linter for Jinja2 using j2lint
2+
3+
call ale#linter#Define('jinja2', {
4+
\ 'name': 'j2lint',
5+
\ 'executable': 'j2lint',
6+
\ 'command': 'j2lint %t',
7+
\ 'callback': 'ale#handlers#unix#HandleAsError',
8+
\})

0 commit comments

Comments
 (0)