Skip to content


💼 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.

Now loading...

🔧 Options


📚 Further reading

🚀 Version

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

🔍 Implementation