From 996d6c8d534b63a6c133d01b412dbe694a735f5f Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Wed, 21 Jun 2023 11:48:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=8C=89=E9=9C=80?= =?UTF-8?q?=E5=BC=95=E5=85=A5=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 2 -- vite.config.ts | 17 ----------------- 2 files changed, 19 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index d70d06db..4be78b4e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,8 +11,6 @@ module.exports = { "@vue/typescript/recommended", "@vue/prettier", "@vue/eslint-config-typescript" - // unplugin-auto-import 自动生成的文件 - // "./types/.eslintrc-auto-import.json" ], parser: "vue-eslint-parser", parserOptions: { diff --git a/vite.config.ts b/vite.config.ts index de2fd7a3..d3421cf0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -78,23 +78,6 @@ export default (configEnv: ConfigEnv): UserConfigExport => { }), /** UnoCSS */ UnoCSS() - /** 自动按需引入 (已更改为完整引入,所以注释了) */ - // AutoImport({ - // dts: "./types/auto-imports.d.ts", - // /** 自动按需导入 Element Plus 相关函数,比如 ElMessage */ - // resolvers: [ElementPlusResolver()], - // /** 根据自动按需导入的相关 API,生成 .eslintrc-auto-import.json 文件供 Eslint 识别 */ - // eslintrc: { - // enabled: true, // 默认 false - // filepath: "./types/.eslintrc-auto-import.json", // 默认 "./.eslintrc-auto-import.json" - // globalsPropValue: true // 默认 true (true | false | "readonly" | "readable" | "writable" | "writeable") - // } - // }), - // Components({ - // dts: "./types/components.d.ts", - // /** 自动按需导入 Element Plus 组件 */ - // resolvers: [ElementPlusResolver()] - // }) ], /** Vitest 单元测试配置:https://cn.vitest.dev/config */ test: {