Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.7.0) Twig: twiglint

LCD 47 edited this page Oct 6, 2015 · 1 revision

Maintainer: Alexander [email protected]

twig-lint is a lint tool for Twig templates. See the project's page at GitHub for details.

Vim and syntastic configuration

For the standalone executable, add the following to your ~/.vimrc file:

let g:syntastic_twig_twiglint_exec = 'php'
let g:syntastic_twig_twiglint_exe = 'php /path/to/twig-lint.phar'

For the composer dependency twig-lint must be in your $PATH. No further configuration is needed.

Clone this wiki locally