Skip to content

Commit

Permalink
8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 1, 2024
1 parent 58029a5 commit 6b22440
Show file tree
Hide file tree
Showing 19 changed files with 91 additions and 19 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-dynamic-import-options.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-dynamic-import-options"
description: "disallow the second parameter to `import()`"
since: "v8.1.0"
---

# es-x/no-dynamic-import-options
> disallow the second parameter to `import()`
- ❗ <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-import-attributes] and [no-new-in-esnext]

This rule reports the second parameter to `import()` as errors.\
Expand All @@ -25,6 +25,10 @@ const m = await import(source, options)

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-dynamic-import-options.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-import-attributes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-import-attributes"
description: "disallow Import Attributes"
since: "v8.1.0"
---

# es-x/no-import-attributes
> disallow Import Attributes
- ❗ <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-import-attributes] and [no-new-in-esnext]

This rule reports ES2025 [Import Attributes](https://github.com/tc39/proposal-import-attributes) as errors.
Expand All @@ -25,6 +25,10 @@ const a = await import("foo.json", { with: { type: "json" } });

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-drop
> disallow the `Iterator.prototype.drop` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.drop`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-every
> disallow the `Iterator.prototype.every` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.every`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-filter
> disallow the `Iterator.prototype.filter` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.filter`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-find
> disallow the `Iterator.prototype.find` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.find`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-flatmap
> disallow the `Iterator.prototype.flatMap` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.flatMap`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-foreach
> disallow the `Iterator.prototype.forEach` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.forEach`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-map
> disallow the `Iterator.prototype.map` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.map`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-reduce
> disallow the `Iterator.prototype.reduce` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.reduce`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-some
> disallow the `Iterator.prototype.some` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.some`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-take
> disallow the `Iterator.prototype.take` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.take`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator-prototype-toarray
> disallow the `Iterator.prototype.toArray` 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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 [`Iterator.prototype.toArray`](https://github.com/tc39/proposal-iterator-helpers) as errors.\
Expand All @@ -29,6 +29,10 @@ function* naturals() {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

# es-x/no-iterator
> disallow the `Iterator` class
- ❗ <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-iterator-helpers] and [no-new-in-esnext]

This rule reports ES2025 `Iterator` class as errors.\
Expand All @@ -25,6 +25,10 @@ const wrapper = Iterator.from(iter);

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-iterator.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-json-modules.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-json-modules"
description: "disallow JSON Modules"
since: "v8.1.0"
---

# es-x/no-json-modules
> disallow JSON Modules
- ❗ <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]

This rule reports ES2025 [JSON Modules](https://github.com/tc39/proposal-json-modules) as errors.
Expand All @@ -25,6 +25,10 @@ import("foo.json", { with: { type: "json" } });

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-json-modules.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-promise-try.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-promise-try"
description: "disallow `Promise.try` function"
since: "v8.1.0"
---

# es-x/no-promise-try
> disallow `Promise.try` function
- ❗ <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]

This rule reports ES2025 [`Promise.try`](https://github.com/tc39/proposal-promise-try) as errors.
Expand All @@ -24,6 +24,10 @@ const p = Promise.try(f)

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.1.0.

## 📚 References

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

0 comments on commit 6b22440

Please sign in to comment.