Open natelenart opened 11 years ago
Currently there is no easy way. Maybe we can extend the linter to have some configuration to:
What do you think?
The linter was extended to not complain about undefined functions and tests. I wonder if this is still an issue?
I wrote a custom Twig operator in Symfony using a Twig Extension. Symfony recognizes it just fine -- my pages render and app/console twig:lint reports the file is ok. However, Syntastic flags the line as invalid since it triggers twig-lint outside of Symfony and does not know about my extension. Is there an easy way to teach twig-lint about my Symfony extensions?