Skip to content

es-x/no-json-superset

disallow \u2028 and \u2029 in string literals

This rule reports ES2019 \u2028 and \u2029 in string literals as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-es v1.3.0.

📚 References