disallow character classes that match no characters
# 📖 Rule Details
This rule reports character classes that cannot match any characters.
Character classes that cannot match any characters are either empty or negated character classes of elements that contain all characters.
The reports for this rule include reports for the ESLint core no-empty-character-class (opens new window) rule. That is, if you use this rule, you can turn off the ESLint core no-empty-character-class (opens new window) rule.
# 🔧 Options
# 📚 Further reading
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v1.2.0