Skip to content

Commit 133e8de

Browse files
authored
Merge pull request #32 from estools/default-to-es2025
feat: change default ecmaVersion to ES2025
2 parents 966824e + eef4b21 commit 133e8de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Configuration options. If not passed, default options will be used.
8989
9090
| type | default value |
9191
|:---------------------|:--------------|
92-
| `string` or `number` | `2022` |
92+
| `string` or `number` | `2025` |
9393
9494
Indicates the ECMAScript version to clone. Must be either 5, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025.
9595

lib/ast-properties/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ const ecmaVersions = {
1414
};
1515

1616
module.exports = (ecmaVersion) => {
17-
const version = ecmaVersion || 2022;
17+
const version = ecmaVersion || 2025;
1818
return ecmaVersions[version];
1919
};

0 commit comments

Comments
 (0)