Skip to content

regexp/no-legacy-features

💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.

disallow legacy RegExp features

📖 Rule Details

This rule disallow legacy RegExp features.

🔧 Options

  • staticProperties ... An array of legacy static properties to forbid.
  • Methods ... An array of legacy methods to forbid.

📚 Further reading

🚀 Version

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

🔍 Implementation