From fa24d948a8b197fdad720c3725b4d7d58f0310ea Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Fri, 12 Jul 2024 09:42:02 +0800 Subject: [PATCH] =?UTF-8?q?style:=20:lipstick:=20=E8=A7=A3=E5=86=B3Prettie?= =?UTF-8?q?r=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=93=8D=E4=BD=9C=E5=90=8E?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=A0=87=E7=AD=BE>=E8=B7=91=E5=88=B0?= =?UTF-8?q?=E4=B8=8B=E4=B8=80=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 347fb32e..419b91e6 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -8,7 +8,7 @@ module.exports = { // 是否格式化一些文件中被嵌入的代码片段的风格(auto|off;默认auto) embeddedLanguageFormatting: "auto", // 指定 HTML 文件的空格敏感度 (css|strict|ignore;默认css) - htmlWhitespaceSensitivity: "css", + htmlWhitespaceSensitivity: "ignore", // 当文件已经被 Prettier 格式化之后,是否会在文件顶部插入一个特殊的 @format 标记,默认false insertPragma: false, // 在 JSX 中使用单引号替代双引号,默认false