You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[es-x/no-regexp-unicode-property-escapes-2020](./no-regexp-unicode-property-escapes-2020.md)| disallow the new values of RegExp Unicode property escape sequences in ES2020. ||
58
59
|[es-x/no-string-prototype-matchall](./no-string-prototype-matchall.md)| disallow the `String.prototype.matchAll` method. ||
description: "disallow the new values of RegExp Unicode property escape sequences in ES2020"
4
+
---
5
+
6
+
# es-x/no-regexp-unicode-property-escapes-2020
7
+
> disallow the new values of RegExp Unicode property escape sequences in ES2020
8
+
9
+
- ❗ <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
10
+
- ✅ The following configurations enable this rule: `plugin:es-x/no-new-in-es2020`, `plugin:es-x/restrict-to-es3`, `plugin:es-x/restrict-to-es5`, `plugin:es-x/restrict-to-es2015`, `plugin:es-x/restrict-to-es2016`, `plugin:es-x/restrict-to-es2017`, `plugin:es-x/restrict-to-es2018`, and `plugin:es-x/restrict-to-es2019`
11
+
12
+
This rule reports the new values of ES2018 [RegExp Unicode property escape sequences](https://github.com/tc39/proposal-regexp-unicode-property-escapes#readme) which were added in ES2020.
13
+
14
+
For example, the following patterns are valid in ES2020, but syntax error in ES2019 environments:
0 commit comments