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

Twig: twiglint

Yann Thomas-Gérard edited this page Apr 14, 2015 · 6 revisions

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