disallow quantifiers with a maximum of zero
- ⚙️ This rule is included in
# 📖 Rule Details
This rule reports quantifiers with a maximum of zero. These quantifiers trivially do not affect the pattern is any way and can be removed.
# 🔧 Options
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.10.0