regexp/no-useless-string-literal
💼 This rule is enabled in the following configs: 🟢 flat/recommended
, 🔵 recommended
.
🔧 This rule is automatically fixable by the --fix
CLI option.
disallow string disjunction of single characters in
\q{...}
📖 Rule Details
This rule reports the string alternatives of a single character in \q{...}
. It can be placed outside \q{...}
.
🔧 Options
Nothing.
👫 Related rules
🚀 Version
This rule was introduced in eslint-plugin-regexp v2.0.0-next.12