Commit 1b981c0f by Jaxon

refactor(eslint-config): 移除未使用的变量和控制台日志

1 parent ce9de593
...@@ -17,11 +17,6 @@ export async function uvue(): Promise<Linter.Config[]> { ...@@ -17,11 +17,6 @@ export async function uvue(): Promise<Linter.Config[]> {
interopDefault(import("vue-eslint-parser")), interopDefault(import("vue-eslint-parser")),
interopDefault(import("@typescript-eslint/parser")), interopDefault(import("@typescript-eslint/parser")),
] as const); ] as const);
const flatEssential = pluginVue.configs?.["flat/essential"] || [];
const flatStronglyRecommended = pluginVue.configs?.["flat/strongly-recommended"] || [];
const flatRecommended = pluginVue.configs?.["flat/recommended"] || [];
console.log("flatEssential", flatEssential);
const vueProcessor = pluginVue.processors?.[".vue"]; const vueProcessor = pluginVue.processors?.[".vue"];
const uvueProcessor: Linter.Processor | undefined = vueProcessor const uvueProcessor: Linter.Processor | undefined = vueProcessor
? { ? {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!