disallow unnecessary escape characters in RegExp
- ⚙️ 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 reports unnecessary escape characters in RegExp.
You may be able to find another mistake by finding unnecessary escapes.
This rule checks for unnecessary escapes with deeper regular expression parsing than the ESLint core's no-useless-escape (opens new window) rule.
# 🔧 Options
# 👫 Related rules
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.4.0