enforce use of unicode codepoint escapes
- ⚙️ This rule is included in
- 🔧 The
--fixoption on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule enforces the use of Unicode codepoint escapes instead of Unicode escapes using surrogate pairs.
If you want to enforce characters that do not use surrogate pairs into unicode escapes or unicode code point escapes, use the regexp/unicode-escape rule.
# 🔧 Options
# 👫 Related rules
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.3.0