From ee30aa2c8c3150fac66f86e6a6f235bb6a09f36e Mon Sep 17 00:00:00 2001 From: Fan Pei Date: Sat, 29 Apr 2023 12:33:47 +0800 Subject: [PATCH] feat: Support vue setup macros in estlint and remove unnecessary imports --- .eslintrc.js | 1 + packages/docs/src/components/InstallButton.vue | 1 - packages/shell-dev-vue3/src/SetupTSScriptProps.vue | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b78fc6d2e..d954254b9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,6 +2,7 @@ module.exports = { root: true, env: { browser: true, + "vue/setup-compiler-macros": true }, extends: [ 'plugin:vue/recommended', diff --git a/packages/docs/src/components/InstallButton.vue b/packages/docs/src/components/InstallButton.vue index 9d4daccf9..927635c38 100644 --- a/packages/docs/src/components/InstallButton.vue +++ b/packages/docs/src/components/InstallButton.vue @@ -1,5 +1,4 @@