Skip to content

regexp/no-useless-range

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

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

disallow unnecessary character ranges

📖 Rule Details

This rule reports unnecessary character ranges. E.g. [a-a]

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation