es-x/no-regexp-v-flag
disallow RegExp
v
flag
- ✅ The following configurations enable this rule: no-new-in-esnext
This rule reports ES2024 RegExp v
flag as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v7.2.0.