Disable VS Code Javascript Check
I am passing a twig object to javascript via script tags in a .html.twig file, and VS Code complains that 'Property assignment expected. js [17, 38]'. Is it possible to turn this o
Solution 1:
There is another setting in VS Code for Javascript inside script
tags:
in settings.json, set
"html.validate.scripts": false
Solution 2:
You can turn off JavaScript validation off through the javascript.validate.enable
setting in VS Code settings.
Post a Comment for "Disable VS Code Javascript Check"