# regexp/no-non-standard-flag
disallow non-standard flags
- ⚙️ This rule is included in
"plugin:regexp/recommended"
.
# 📖 Rule Details
This rule reports non-standard flags.
Some JavaScript runtime implementations allow special flags not defined in the ECMAScript standard. These flags are experimental and should not be used in production code.
# 🔧 Options
Nothing.
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.9.0