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
disallow proposal ES2026 Intl API [Intl Locale Info API](https://github.com/tc39/proposal-intl-locale-info)\
1071
+
⚠️ This config will be changed in the minor versions of this plugin.
1072
+
1073
+
This configs includes rules for [es-x/no-intl-locale-prototype-firstdayofweek](../rules/no-intl-locale-prototype-firstdayofweek.md), [es-x/no-intl-locale-prototype-getcalendars](../rules/no-intl-locale-prototype-getcalendars.md), [es-x/no-intl-locale-prototype-getcollations](../rules/no-intl-locale-prototype-getcollations.md), [es-x/no-intl-locale-prototype-gethourcycles](../rules/no-intl-locale-prototype-gethourcycles.md), [es-x/no-intl-locale-prototype-getnumberingsystems](../rules/no-intl-locale-prototype-getnumberingsystems.md), [es-x/no-intl-locale-prototype-gettextinfo](../rules/no-intl-locale-prototype-gettextinfo.md), [es-x/no-intl-locale-prototype-gettimezones](../rules/no-intl-locale-prototype-gettimezones.md), and [es-x/no-intl-locale-prototype-getweekinfo](../rules/no-intl-locale-prototype-getweekinfo.md).
Copy file name to clipboardExpand all lines: docs/rules/index.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,21 @@ There is a config that enables the rules in this category: [`no-new-in-esnext`]
19
19
|[es-x/no-symbol-dispose](./no-symbol-dispose.md)| disallow the `Symbol.dispose` property. ||
20
20
|[es-x/no-using-declarations](./no-using-declarations.md)| disallow `using` and `await using` declarations. ||
21
21
22
+
## ES2026 Intl API
23
+
24
+
There is a config that enables the rules in this category: [`no-new-in-esnext-intl-api`]
25
+
26
+
| Rule ID | Description ||
27
+
|:--------|:------------|:--:|
28
+
|[es-x/no-intl-locale-prototype-firstdayofweek](./no-intl-locale-prototype-firstdayofweek.md)| disallow the `Intl.Locale.prototype.firstDayOfWeek` property. ||
29
+
|[es-x/no-intl-locale-prototype-getcalendars](./no-intl-locale-prototype-getcalendars.md)| disallow the `Intl.Locale.prototype.getCalendars` method. ||
30
+
|[es-x/no-intl-locale-prototype-getcollations](./no-intl-locale-prototype-getcollations.md)| disallow the `Intl.Locale.prototype.getCollations` method. ||
31
+
|[es-x/no-intl-locale-prototype-gethourcycles](./no-intl-locale-prototype-gethourcycles.md)| disallow the `Intl.Locale.prototype.getHourCycles` method. ||
32
+
|[es-x/no-intl-locale-prototype-getnumberingsystems](./no-intl-locale-prototype-getnumberingsystems.md)| disallow the `Intl.Locale.prototype.getNumberingSystems` method. ||
33
+
|[es-x/no-intl-locale-prototype-gettextinfo](./no-intl-locale-prototype-gettextinfo.md)| disallow the `Intl.Locale.prototype.getTextInfo` method. ||
34
+
|[es-x/no-intl-locale-prototype-gettimezones](./no-intl-locale-prototype-gettimezones.md)| disallow the `Intl.Locale.prototype.getTimeZones` method. ||
35
+
|[es-x/no-intl-locale-prototype-getweekinfo](./no-intl-locale-prototype-getweekinfo.md)| disallow the `Intl.Locale.prototype.getWeekInfo` method. ||
36
+
22
37
## ES2025
23
38
24
39
There are multiple configs that enable all rules in this category: [`no-new-in-es2025`], [`restrict-to-es3`], [`restrict-to-es5`], [`restrict-to-es2015`], [`restrict-to-es2016`], [`restrict-to-es2017`], [`restrict-to-es2018`], [`restrict-to-es2019`], [`restrict-to-es2020`], [`restrict-to-es2021`], [`restrict-to-es2022`], [`restrict-to-es2023`], and [`restrict-to-es2024`]
@@ -498,6 +513,7 @@ Rules in this category are not included in any preset.
0 commit comments