From 2a363cd17bdfc267801fbbad008d6567d5abd517 Mon Sep 17 00:00:00 2001 From: Vixalie Date: Tue, 22 Jul 2025 22:42:14 +0800 Subject: [PATCH] =?UTF-8?q?chore(eslint):=20=E6=9B=B4=E6=96=B0eslint?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 ecmaVersion 设置为 2020 --- eslint.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 01c66e8..0b21d14 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -20,6 +20,7 @@ export default [ ...globals.browser, }, parserOptions: { + ecmaVersion: '2020', ecmaFeatures: { jsx: true, },