-1

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?

Thanks

user742736
  • 2,629
  • 5
  • 30
  • 40

1 Answers1

2

JSCS supports --extract option that allows linting embedded javascript (http://jscs.info/overview). But:

Mr Lister
  • 45,515
  • 15
  • 108
  • 150
lena
  • 90,154
  • 11
  • 145
  • 150