From 3b7dd58c504884a55fab345efbc06de366983ab2 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Mon, 17 Feb 2025 11:53:15 +0100 Subject: [PATCH] Update eslint ecmaVersion to es2022 (#5049) Current firefox version supports all features of es2022 Fix errors with features like WeakRef --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 90eb622e35..80d23bac3f 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -61,7 +61,7 @@ export default [ }, parser: babelParser, - ecmaVersion: 2018, + ecmaVersion: 2022, sourceType: "module", parserOptions: {