Skip to content

Commit

Permalink
8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jul 1, 2024
1 parent 3a31ae4 commit e96b66f
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 11 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-array-prototype-at.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-array-prototype-at"
description: "disallow the `Array.prototype.at()` methods"
since: "v8.0.0"
---

# es-x/no-array-prototype-at
> disallow the `Array.prototype.at()` methods
- ❗ <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-es2022], [no-relative-indexing-method], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports ES2022 [`{Array,TypedArray}.prototype.at` methods](https://github.com/tc39/proposal-relative-indexing-method) as errors.
Expand Down Expand Up @@ -40,6 +40,10 @@ rules:
Configure the aggressive mode for only this rule.
This is prior to the `settings['es-x'].aggressive` setting.

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-class-instance-fields
> disallow instance class fields
- ❗ <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-class-fields], [no-new-in-es2022], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports class fields as errors.
Expand All @@ -27,6 +27,10 @@ class A {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-class-private-fields
> disallow private class fields
- ❗ <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-class-fields], [no-new-in-es2022], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports class fields as errors.
Expand All @@ -32,6 +32,10 @@ class A {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-class-private-methods
> disallow private class methods
- ❗ <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-class-fields], [no-new-in-es2022], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports class fields as errors.
Expand All @@ -32,6 +32,10 @@ class A {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-class-static-fields
> disallow static class fields
- ❗ <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-class-fields], [no-new-in-es2022], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports class fields as errors.
Expand All @@ -27,6 +27,10 @@ class A {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-map-groupby
> disallow the `Map.groupBy()` 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-array-grouping], [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]

This rule reports ES2024 [`Map.groupBy()`](https://github.com/tc39/proposal-array-grouping) method as errors.
Expand All @@ -26,6 +26,10 @@ Map.groupBy(array, (num, index) => {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-object-groupby
> disallow the `Object.groupBy()` 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-array-grouping], [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]

This rule reports ES2024 [`Object.groupBy()`](https://github.com/tc39/proposal-array-grouping) method as errors.
Expand All @@ -26,6 +26,10 @@ Object.groupBy(array, (num, index) => {

</eslint-playground>

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-string-prototype-at
> disallow the `String.prototype.at()` methods
- ❗ <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-es2022], [no-relative-indexing-method], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], [restrict-to-es2019], [restrict-to-es2020], and [restrict-to-es2021]

This rule reports ES2022 [`String.prototype.at` methods](https://github.com/tc39/proposal-relative-indexing-method) as errors.
Expand Down Expand Up @@ -40,6 +40,10 @@ rules:
Configure the aggressive mode for only this rule.
This is prior to the `settings['es-x'].aggressive` setting.

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-string-prototype-iswellformed
> disallow the `String.prototype.isWellFormed` methods
- ❗ <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-is-usv-string], [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]

This rule reports ES2024 [`String.prototype.isWellFormed` methods](https://github.com/tc39/proposal-is-usv-string) as errors.
Expand Down Expand Up @@ -38,6 +38,10 @@ rules:
Configure the aggressive mode for only this rule.
This is prior to the `settings['es-x'].aggressive` setting.

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

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

# es-x/no-string-prototype-towellformed
> disallow the `String.prototype.toWellFormed` methods
- ❗ <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-is-usv-string], [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]

This rule reports ES2024 [`String.prototype.toWellFormed` methods](https://github.com/tc39/proposal-is-usv-string) as errors.
Expand Down Expand Up @@ -38,6 +38,10 @@ rules:
Configure the aggressive mode for only this rule.
This is prior to the `settings['es-x'].aggressive` setting.

## 🚀 Version

This rule was introduced in v8.0.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-string-prototype-towellformed.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.8.0",
"version": "8.0.0",
"description": "ESLint plugin about ECMAScript syntactic features.",
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down

0 comments on commit e96b66f

Please sign in to comment.