Skip to content

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.

Now loading...

🔧 Options

Nothing.

📚 Further reading

🚀 Version

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

🔍 Implementation