Expression expected when using string literals in pug templates
Hello,
I'm having this strange issue when using String literals in .pug templates. The behavior is shown in the image below. When hovering over the message 'Unexpected tokens' appears. It's nothing wrong with statement. Everything in the application is working fine, but I don't like seeing a red line when nothing is wrong.
I have enabled JavaScript language version ECMAScript 6 inside the project settings and the version I'm on is 2016.2.4

Please sign in to leave a comment.
Hi! This is a known issue: https://youtrack.jetbrains.com/issue/WEB-22802. Please feel free to vote for it to be notified about updates.