Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-tigers-hunt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/drop-old-eslint.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/drop-old-node.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-planets-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/no-string-matchall.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/no-symbol-asyncdispose.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/no-symbol-dispose.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/no-symbol-matchall.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-kiwis-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-seahorses-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update-config.md

This file was deleted.

29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# eslint-plugin-es-x

## 9.0.0

### Major Changes

- Drop support for old ESLint (now supports `>=9.29.0`). ([#272](https://github.com/eslint-community/eslint-plugin-es-x/pull/272))

- Drop support for old Node.js (now supports `^20.19.0 || >=22.12.0`). ([#271](https://github.com/eslint-community/eslint-plugin-es-x/pull/271))

- Update configs: `no-new-in-es2020`, and `restrict-to-es3` - `restrict-to-es2019`. ([#264](https://github.com/eslint-community/eslint-plugin-es-x/pull/264))

- Update `restrict-to-*` configs ([#265](https://github.com/eslint-community/eslint-plugin-es-x/pull/265))

### Minor Changes

- Add configs for es2025: (`no-new-in-es2025`, and `no-new-in-es2025-intl-api`) ([#265](https://github.com/eslint-community/eslint-plugin-es-x/pull/265))

- refactor: use eslint-type-tracer ([#267](https://github.com/eslint-community/eslint-plugin-es-x/pull/267))

- Add `no-string-matchall` config. ([#264](https://github.com/eslint-community/eslint-plugin-es-x/pull/264))

- Add `es-x/no-symbol-asyncdispose` rule ([#264](https://github.com/eslint-community/eslint-plugin-es-x/pull/264))

- Add `es-x/no-symbol-dispose` rule ([#264](https://github.com/eslint-community/eslint-plugin-es-x/pull/264))

- Add `es-x/no-symbol-matchall` rule ([#264](https://github.com/eslint-community/eslint-plugin-es-x/pull/264))

- Update `no-explicit-resource-management` config. ([#270](https://github.com/eslint-community/eslint-plugin-es-x/pull/270))
3 changes: 0 additions & 3 deletions docs/configs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,3 @@ export default [
```

</details>

[Config (Flat Config)]: https://eslint.org/docs/latest/use/configure/configuration-files
[Legacy Config]: https://eslint.org/docs/latest/use/configure/configuration-files-deprecated
6 changes: 5 additions & 1 deletion docs/rules/no-symbol-asyncdispose.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-symbol-asyncdispose"
description: "disallow the `Symbol.asyncDispose` property"
since: "v9.0.0"
---

# es-x/no-symbol-asyncdispose
> disallow the `Symbol.asyncDispose` property

- ❗ <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-explicit-resource-management] and [no-new-in-esnext]

This rule reports ES2026 [`Symbol.asyncDispose` property](https://github.com/tc39/proposal-explicit-resource-management) as errors.
Expand Down Expand Up @@ -46,6 +46,10 @@ This rule has an option.
Configure the allowTestedProperty mode for only this rule.
This is prior to the `settings['es-x'].allowTestedProperty` setting.

## 🚀 Version

This rule was introduced in v9.0.0.

## 📚 References

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

# es-x/no-symbol-dispose
> disallow the `Symbol.dispose` property

- ❗ <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-explicit-resource-management] and [no-new-in-esnext]

This rule reports ES2026 [`Symbol.dispose` property](https://github.com/tc39/proposal-explicit-resource-management) as errors.
Expand Down Expand Up @@ -46,6 +46,10 @@ This rule has an option.
Configure the allowTestedProperty mode for only this rule.
This is prior to the `settings['es-x'].allowTestedProperty` setting.

## 🚀 Version

This rule was introduced in v9.0.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-symbol-dispose.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-symbol-matchall.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-symbol-matchall"
description: "disallow the `Symbol.matchAll` property"
since: "v9.0.0"
---

# es-x/no-symbol-matchall
> disallow the `Symbol.matchAll` property

- ❗ <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-es2020], [no-string-matchall], [restrict-to-es3], [restrict-to-es5], [restrict-to-es2015], [restrict-to-es2016], [restrict-to-es2017], [restrict-to-es2018], and [restrict-to-es2019]

This rule reports ES2020 [`Symbol.matchAll` property](https://github.com/tc39/proposal-string-matchall) as errors.
Expand Down Expand Up @@ -46,6 +46,10 @@ This rule has an option.
Configure the allowTestedProperty mode for only this rule.
This is prior to the `settings['es-x'].allowTestedProperty` setting.

## 🚀 Version

This rule was introduced in v9.0.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-symbol-matchall.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": "8.7.0",
"version": "9.0.0",
"description": "ESLint plugin about ECMAScript syntactic features.",
"engines": {
"node": "^20.19.0 || >=22.12.0"
Expand Down