Skip to content

Commit

Permalink
Change parserOptions.ecmaVersion from 2021 to 2023
Browse files Browse the repository at this point in the history
This package supports Node.js 18 or later, which is over 90% compatible with ECMAScript 2023.
See also https://node.green/#ES2023
  • Loading branch information
ybiquitous committed Jan 30, 2024
1 parent 6ea17f5 commit de98824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Removed: Node.js 16 support.
- Changed: bump `eslint-plugin-regexp` from v1 to v2.
- Changed: `parserOptions.ecmaVersion` from `2021` to `2023`.

## 20.0.0

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
parserOptions: {
ecmaVersion: 2021,
ecmaVersion: 2023,
sourceType: 'module',
},
env: {
Expand Down

0 comments on commit de98824

Please sign in to comment.