enforce using named backreferences
- 🔧 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 and fixes backreferences that do not use the name of their referenced capturing group.
# 🔧 Options
# 👫 Related rules
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.9.0