Update eslint ecmaVersion to es2022 (#5049)

Current firefox version supports all features of es2022
Fix errors with features like WeakRef
This commit is contained in:
windingwind 2025-02-17 11:53:15 +01:00 committed by GitHub
parent fc3b7e0f83
commit 3b7dd58c50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ export default [
},
parser: babelParser,
ecmaVersion: 2018,
ecmaVersion: 2022,
sourceType: "module",
parserOptions: {