Skip to content

regexp/no-useless-two-nums-quantifier

💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.

🔧 This rule is automatically fixable by the --fix CLI option.

disallow unnecessary {n,m} quantifier

📖 Rule Details

This rule reports unnecessary {n,m} quantifiers.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation