I'm using Visual Studio Code (1.6.1) with its jshint extension (0.10.15).
When I type some template string, such as:
console.log(`My name is: ${name}`);
VSCode highlights it in red and says:
[jshint] Unexpected '`'. (E024)
And the rest of the code starts showing dozens of false errors like:
[jshint] Expected an identifier and instead saw 'if'. (E030)
[jshint] Expected an operator and instead saw '('. (E030)
[jshint] Expected an assignment or function call and instead saw an expression. (W030)
I've looked in the docs, but nothing references this issue.
Anyone come up with a workaround for this?