From 379b2aea676d45c36ded82fff27559070e1527a3 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 3 Apr 2024 06:53:13 +0900 Subject: [PATCH] Allow Prettier to handle all supported files Signed-off-by: Sora Morimoto --- .prettierignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..9809a24 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +dist/ +pnpm-lock.yaml diff --git a/package.json b/package.json index 351d700..fcfcd08 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "prebuild": "pnpm clean", "build": "tsup", "clean": "rimraf dist", - "format": "prettier --write src test && pnpm dlx sort-package-json", + "format": "prettier --write . && pnpm dlx sort-package-json", "start": "pnpm build -- --watch", "test": "vitest run" },