Skip to content
On this page

regexp/prefer-plus-quantifier

💼 This rule is enabled in the ✅ plugin:regexp/recommended config.

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

enforce using + quantifier

📖 Rule Details

This rule is aimed at using + quantifier instead of {1,} in regular expressions.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation