Skip to content

Commit fb6d183

Browse files
committed
7.5.0
1 parent d0b8a57 commit fb6d183

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/rules/no-object-map-groupby.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-object-map-groupby"
33
description: "disallow the `{Object,Map}.groupBy()` function (array grouping)"
4+
since: "v7.5.0"
45
---
56

67
# es-x/no-object-map-groupby
78
> disallow the `{Object,Map}.groupBy()` function (array grouping)
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1010
- ✅ The following configurations enable this rule: `plugin:es-x/no-new-in-esnext`
1111

1212
This rule reports ES2024 `Object.groupBy()` and `Map.groupBy()` (Array grouping) as errors.
@@ -30,6 +30,10 @@ Map.groupBy(array, (num, index) => {
3030

3131
</eslint-playground>
3232

33+
## 🚀 Version
34+
35+
This rule was introduced in v7.5.0.
36+
3337
## 📚 References
3438

3539
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-object-map-groupby.js)

docs/rules/no-promise-withresolvers.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-promise-withresolvers"
33
description: "disallow the `Promise.withResolvers()` method"
4+
since: "v7.5.0"
45
---
56

67
# es-x/no-promise-withresolvers
78
> disallow the `Promise.withResolvers()` method
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1010
- ✅ The following configurations enable this rule: `plugin:es-x/no-new-in-esnext`
1111

1212
This rule reports ES2024 [`Promise.withResolvers` function](https://github.com/tc39/proposal-promise-with-resolvers) as errors.
@@ -24,6 +24,10 @@ const { promise, resolve, reject } = Promise.withResolvers()
2424

2525
</eslint-playground>
2626

27+
## 🚀 Version
28+
29+
This rule was introduced in v7.5.0.
30+
2731
## 📚 References
2832

2933
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-promise-withresolvers.js)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-es-x",
3-
"version": "7.4.0",
3+
"version": "7.5.0",
44
"description": "ESLint plugin about ECMAScript syntactic features.",
55
"engines": {
66
"node": "^14.18.0 || >=16.0.0"

0 commit comments

Comments
 (0)