regexp/no-useless-dollar-replacements
💼 This rule is enabled in the following configs: 🟢 flat/recommended
, 🔵 recommended
.
disallow useless
$
replacements in replacement string
📖 Rule Details
This rule aims to detect and disallow useless $
replacements in regular expression replacements.
🔧 Options
Nothing.
👫 Related rules
📚 Further reading
🚀 Version
This rule was introduced in eslint-plugin-regexp v0.6.0