diff --git a/.vscode/settings.json b/.vscode/settings.json index c699a1a..370851c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" + } } diff --git a/package.json b/package.json index beb49aa..17d5b51 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,11 @@ "@zclzone", "@unocss", ".eslint-global-variables.json" - ] + ], + "parserOptions": { + "ecmaFeatures": { + "jsx": true + } + } } }