user742736 user742736 - 12 days ago 9x
Twig Question

PhpStorm + JSCS + TWIG with JavaScript. JSCS doesn't work

JSCS is installed correctly and I have tested it with a .js file.

When I am editing a .html.twig or .js.twig JSCS doesn't kick in.

PhpStorm detects that it's a HTML and JS file.

Is it possible for JSCS to work in PhpStorm when editing twig files?



JSCS supports --extract option that allows linting embedded javascript ( But: