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-2022](./no-regexp-unicode-property-escapes-2022.md)| disallow the new values of RegExp Unicode property escape sequences in ES2022. ||
|[es-x/no-promise-any](./no-promise-any.md)| disallow `Promise.any` function and `AggregateError` class. ||
42
+
|[es-x/no-regexp-unicode-property-escapes-2021](./no-regexp-unicode-property-escapes-2021.md)| disallow the new values of RegExp Unicode property escape sequences in ES2021. ||
41
43
|[es-x/no-string-prototype-replaceall](./no-string-prototype-replaceall.md)| disallow the `String.prototype.replaceAll` method. ||
42
44
|[es-x/no-weakrefs](./no-weakrefs.md)| disallow the `WeakRef` and `FinalizationRegistry` class. ||
43
45
@@ -55,6 +57,7 @@ There are multiple configs that enable all rules in this category: `plugin:es-x/
|[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
61
|[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:
description: "disallow the new values of RegExp Unicode property escape sequences in ES2021"
4
+
---
5
+
6
+
# es-x/no-regexp-unicode-property-escapes-2021
7
+
> disallow the new values of RegExp Unicode property escape sequences in ES2021
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-es2021`, `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`, `plugin:es-x/restrict-to-es2019`, and `plugin:es-x/restrict-to-es2020`
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 ES2021.
13
+
14
+
For example, the following patterns are valid in ES2021, but syntax error in ES2020 environments:
description: "disallow the new values of RegExp Unicode property escape sequences in ES2022"
4
+
---
5
+
6
+
# es-x/no-regexp-unicode-property-escapes-2022
7
+
> disallow the new values of RegExp Unicode property escape sequences in ES2022
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-es2022`, `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`, `plugin:es-x/restrict-to-es2019`, `plugin:es-x/restrict-to-es2020`, and `plugin:es-x/restrict-to-es2021`
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 ES2022.
13
+
14
+
For example, the following patterns are valid in ES2022, but syntax error in ES2020 environments:
0 commit comments