regexp/no-useless-range
💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.
🔧 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]
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-regexp v0.3.0