Skip to content
On this page


💼 This rule is enabled in the ✅ plugin:regexp/recommended config.

disallow non-standard flags

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

Now loading...

🔧 Options


🚀 Version

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

🔍 Implementation