From 116c0bff29dc5d1e75b01b08077ab7d0e21bb549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Sat, 25 Nov 2023 22:27:24 +0800 Subject: [PATCH] fix: allow export default in prettier config --- src/configs/imports.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configs/imports.ts b/src/configs/imports.ts index be3cd3d..3dfca0a 100644 --- a/src/configs/imports.ts +++ b/src/configs/imports.ts @@ -44,6 +44,7 @@ export const imports: FlatESLintConfigItem[] = [ `**/{index,vite,esbuild,rollup,webpack,rspack}.ts`, '**/*.d.ts', `${GLOB_MARKDOWN}/**`, + '**/.prettierrc*', ], plugins: { import: pluginImport,