How to bring back Javascript syntax error detection in Visual Studio Code
<p>Take the following sample of HTML.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script&gt;

  var myArr = ['thing1' thing2'];

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>If you're perceptive, you'll notice that I forgot to put a comma between the two array values inside of the script. This will, of course, cause any browser to fail to parse it and the whole script tag will not run. In previous versions of Code, this would be noted with a red underline, but it seems like in recent versions support has moved to plugins. They recommend installing the JSHint plugin to catch some issues, but I have a .jshintrc file in my project directory, with very few entries (to try to use mostly defaults) and while it catches "recommendations", it's still not catching actual syntax issues that break the scripts entirely. I'm also not sure it's doing anything for JavaScript it sees inside of a <code>&lt;script&gt;</code> tag (which I currently use to do quick tests or examples of features). It highlights keywords, but doesn't check syntax or anything.</p>

<p>Is there any configuration I can apply to Code, or my project, to get back this behavior?</p>