# regexp/no-zero-quantifier

disallow quantifiers with a maximum of zero

  • ⚙️ This rule is included in "plugin:regexp/recommended".

# 📖 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.

Now loading...

# 🔧 Options

Nothing.

# 🚀 Version

This rule was introduced in eslint-plugin-regexp v0.10.0

# 🔍 Implementation