disallow template literals with invalid escape sequences (es/no-malformed-template-literals)

This rule reports ES2018 template literals with invalid escape sequences as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-malformed-template-literals: error */ tag`\unicode`
Now loading...

📚 References

Last Updated: 8/27/2019, 11:29:02 AM