Skip to content

Commit c57078e

Browse files
committed
Unify globals and ecma version and upgrade it to 2024
Currently we are using node 22 which supports 2024.
1 parent 0ccf0eb commit c57078e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ export default [
3737
languageOptions: {
3838
globals: {
3939
...globals.browser,
40-
...globals.es2020,
40+
...globals.es2024,
4141
...globals.node,
4242
AVAILABLE_STAGING_LOCALES: true,
4343
},
4444
parser: tsParser,
4545
parserOptions: {
46-
ecmaVersion: 2022,
46+
ecmaVersion: 2024,
4747
sourceType: 'module',
4848
ecmaFeatures: {
4949
jsx: true,

0 commit comments

Comments
 (0)