1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-05-01 14:49:00 +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": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit" "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", "@zclzone",
"@unocss", "@unocss",
".eslint-global-variables.json" ".eslint-global-variables.json"
] ],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
} }
} }