1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

chore: 修改eslint设配置

This commit is contained in:
zclzone 2024-02-29 17:01:43 +08:00
parent 207150623e
commit fa4967efc3
2 changed files with 10 additions and 2 deletions

View File

@ -18,5 +18,8 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "vue"]
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "vue"],
"eslint.options": {
"overrideConfigFile": "package.json"
}
}

View File

@ -46,6 +46,11 @@
"@zclzone",
"@unocss",
".eslint-global-variables.json"
]
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
}
}