chore(eslint): 更新eslint配置

- 添加 ecmaVersion 设置为 2020
This commit is contained in:
Vixalie
2025-07-22 22:42:14 +08:00
parent 00f75c684e
commit 2a363cd17b

View File

@@ -20,6 +20,7 @@ export default [
...globals.browser, ...globals.browser,
}, },
parserOptions: { parserOptions: {
ecmaVersion: '2020',
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
}, },