Add support for twig templates

Twig is a very commonly used templating library for PHP. It would be nice if the HTML analyzer understood Twig tags. Currently, these tags can cause errors, for example:


	.doc_manager {
		background-color: {{ systemUser.get('background-color') }}

Will lead to complaints about systemUser.get('background-color') being an ‘unexpected unknown property’, even though it would be properly replaced at runtime.

Hi,

‘unexpected unknown property’, are we talking about CSS rule here? (you can check that by rule key prefix)

Yes, it’s rule css:S4654

So the file where you have those FPs is a php file or html? Could you show the full file, minimal file reproducing this FP?

Official documentation says It doesn't have a specific extension, .html or .xml are just fine, but normally I have seen twig templates as .html.twig.