From d0fd528d7c7e6aa57f9fe2a9ea902a92b95eb194 Mon Sep 17 00:00:00 2001 From: nongyehong <2439646234@qq.com> Date: Mon, 28 Oct 2024 15:18:50 +0800 Subject: [PATCH] =?UTF-8?q?style(style):=20:lipstick:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?prettierrc=E6=A0=BC=E5=BC=8F=E5=8C=96=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index fa48cdf..bf7dfed 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,4 +5,5 @@ **/*.svg **/*.sh /public/* +/src-tauri/* auto-imports.d.ts \ No newline at end of file diff --git a/package.json b/package.json index 240d4f1..82d2763 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "url": "https://github.com/HuLaSpark/HuLa" }, "lint-staged": { - "*.{js,jsx,vue,ts,tsx}": [ + "*.*": [ "oxlint src", - "prettier --config .prettierrc --write", + "prettier . --write", "eslint src" ] },