Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-template-curly-in-string

- Disallow template literal placeholder syntax in regular strings

This rule aims to warn when a regular string contains what looks like a template literal placeholder. It will warn when it finds a string containing the template literal place holder (${something}) that uses either " or ' for the quotes.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.