Rule Set: N/A
Description: ECMAScript 2015 (ES6) added support for template strings, delimited by backsticks (`
). The current grammar does not support this properly, meaning template strings throw lexical errors.
Code Sample demonstrating the issue:
var markup = `<p>${content}</p>`;
Running PMD through: Any
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4