From 066532d8236394bab68562f5b9a1dc777f839841 Mon Sep 17 00:00:00 2001 From: zhiyuanzmj <260480378@qq.com> Date: Fri, 23 May 2025 23:21:17 +0800 Subject: [PATCH] chore: fix lint --- packages/babel-plugin-jsx/src/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-plugin-jsx/src/utils.ts b/packages/babel-plugin-jsx/src/utils.ts index ad10f95..49867f9 100644 --- a/packages/babel-plugin-jsx/src/utils.ts +++ b/packages/babel-plugin-jsx/src/utils.ts @@ -39,8 +39,8 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => { const vueImportMap = state.get('vueImportMap'); for (const name of [FRAGMENT, KEEP_ALIVE]) { if (vueImportMap[name]) { - if(vueImportMap[name].some((id: t.Identifier) => id.name === tag)){ - return false + if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) { + return false; } } }