Skip to content

Commit

Permalink
7.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 7, 2024
1 parent cb02ded commit 128c603
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 8 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-difference.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-difference"
description: "disallow the `Set.prototype.difference` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-difference
> disallow the `Set.prototype.difference` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.difference`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.difference(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-difference.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-intersection.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-intersection"
description: "disallow the `Set.prototype.intersection` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-intersection
> disallow the `Set.prototype.intersection` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.intersection`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.intersection(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-intersection.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-isdisjointfrom.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-isdisjointfrom"
description: "disallow the `Set.prototype.isDisjointFrom` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-isdisjointfrom
> disallow the `Set.prototype.isDisjointFrom` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.isDisjointFrom`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.isDisjointFrom(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-isdisjointfrom.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-issubsetof.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-issubsetof"
description: "disallow the `Set.prototype.isSubsetOf` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-issubsetof
> disallow the `Set.prototype.isSubsetOf` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.isSubsetOf`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.isSubsetOf(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-issubsetof.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-issupersetof.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-issupersetof"
description: "disallow the `Set.prototype.isSupersetOf` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-issupersetof
> disallow the `Set.prototype.isSupersetOf` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.isSupersetOf`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.isSupersetOf(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-issupersetof.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-symmetricdifference.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-symmetricdifference"
description: "disallow the `Set.prototype.symmetricDifference` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-symmetricdifference
> disallow the `Set.prototype.symmetricDifference` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.symmetricDifference`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.symmetricDifference(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-symmetricdifference.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-set-prototype-union.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-set-prototype-union"
description: "disallow the `Set.prototype.union` method"
since: "v7.7.0"
---

# es-x/no-set-prototype-union
> disallow the `Set.prototype.union` method
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: [no-new-in-esnext] and [no-set-methods]

This rule reports ES2025 [`Set.prototype.union`](https://github.com/tc39/proposal-set-methods) methods as errors.
Expand All @@ -28,6 +28,10 @@ a.union(b)

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.7.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-set-prototype-union.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-es-x",
"version": "7.6.0",
"version": "7.7.0",
"description": "ESLint plugin about ECMAScript syntactic features.",
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down

0 comments on commit 128c603

Please sign in to comment.