# disallow RegExp u flag (es/no-regexp-u-flag)

This rule reports ES2015 RegExp u flag as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-regexp-u-flag: error */ const r1 = /[☀️☔]/u
Now loading...

# 📚 References