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
Copy file name to clipboardexpand all lines: docs/rules/index.md
+11
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,14 @@ There is a config that enables the rules in this category: [`no-new-in-esnext`]
38
38
|[es-x/no-set-prototype-union](./no-set-prototype-union.md)| disallow the `Set.prototype.union` method. ||
39
39
|[es-x/no-trailing-dynamic-import-commas](./no-trailing-dynamic-import-commas.md)| disallow trailing commas in `import()`. | 🔧 |
40
40
41
+
## ES2025 Intl API
42
+
43
+
There is a config that enables the rules in this category: [`no-new-in-esnext-intl-api`]
44
+
45
+
| Rule ID | Description ||
46
+
|:--------|:------------|:--:|
47
+
|[es-x/no-intl-durationformat](./no-intl-durationformat.md)| disallow the `Intl.DurationFormat` object. ||
48
+
41
49
## ES2024
42
50
43
51
There are multiple configs that enable all rules in this category: [`no-new-in-es2024`], [`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`], and [`restrict-to-es2023`]
@@ -407,6 +415,8 @@ Rules in this category are not included in any preset.
407
415
|[es-x/no-nonstandard-intl-datetimeformat-prototype-properties](./no-nonstandard-intl-datetimeformat-prototype-properties.md)| disallow non-standard properties on Intl.DateTimeFormat instance. ||
408
416
|[es-x/no-nonstandard-intl-displaynames-properties](./no-nonstandard-intl-displaynames-properties.md)| disallow non-standard static properties on `Intl.DisplayNames` class. ||
409
417
|[es-x/no-nonstandard-intl-displaynames-prototype-properties](./no-nonstandard-intl-displaynames-prototype-properties.md)| disallow non-standard properties on Intl.DisplayNames instance. ||
418
+
|[es-x/no-nonstandard-intl-durationformat-properties](./no-nonstandard-intl-durationformat-properties.md)| disallow non-standard static properties on `Intl.DurationFormat` class. ||
419
+
|[es-x/no-nonstandard-intl-durationformat-prototype-properties](./no-nonstandard-intl-durationformat-prototype-properties.md)| disallow non-standard properties on Intl.DurationFormat instance. ||
410
420
|[es-x/no-nonstandard-intl-listformat-properties](./no-nonstandard-intl-listformat-properties.md)| disallow non-standard static properties on `Intl.ListFormat` class. ||
411
421
|[es-x/no-nonstandard-intl-listformat-prototype-properties](./no-nonstandard-intl-listformat-prototype-properties.md)| disallow non-standard properties on Intl.ListFormat instance. ||
412
422
|[es-x/no-nonstandard-intl-locale-properties](./no-nonstandard-intl-locale-properties.md)| disallow non-standard static properties on `Intl.Locale` class. ||
@@ -464,6 +474,7 @@ Rules in this category are not included in any preset.
0 commit comments