simpspector/twig-lint

Standalone twig linter.

1.1.2 2016-05-05 09:08 UTC

This package is auto-updated.

Last update: 2021-05-11 20:32:55 UTC


README

Fix Twig BC break (see https://github.com/asm89/twig-lint/pull/11)

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.

Authors

Alexander iam.asm89@gmail.com
Marc Weistroff marc.weistroff@sensiolabs.com (creator of the original twig:lint command in the symfony framework)

License

  • twig-lint is licensed under the MIT License - see the LICENSE file for details
  • I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employer (Facebook).