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