chore(eslint): 更新eslint配置
- 添加 ecmaVersion 设置为 2020
This commit is contained in:
@@ -20,6 +20,7 @@ export default [
|
||||
...globals.browser,
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: '2020',
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
|
Reference in New Issue
Block a user