Skip to content

Commit 1f5a230

Browse files
committed
fix: raise ecma version from 2018 to 2022
1 parent 18d4a13 commit 1f5a230

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
@@ -30,10 +30,10 @@ export default eslintTs.config(
3030
},
3131
{
3232
languageOptions: {
33-
ecmaVersion: 2018,
33+
ecmaVersion: 2022,
3434
globals: { ...globals.browser },
3535
parserOptions: {
36-
ecmaVersion: 2018,
36+
ecmaVersion: 2022,
3737
ecmaFeatures: { jsx: true },
3838
tsconfigRootDir: import.meta.dirname,
3939
projectService: { allowDefaultProject: ['eslint.config.mjs'] }

0 commit comments

Comments
 (0)