Skip to content
On this page

regexp/no-useless-dollar-replacements

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

disallow useless $ replacements in replacement string

📖 Rule Details

This rule aims to detect and disallow useless $ replacements in regular expression replacements.

Now loading...

🔧 Options

Nothing.

📚 Further reading

🚀 Version

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

🔍 Implementation