From c145a476c60c22c83a86c2e62e3b94b2b39e39fb Mon Sep 17 00:00:00 2001 From: Han Yeong-woo Date: Sat, 2 Sep 2023 08:20:29 +0900 Subject: [PATCH] chore: no prettier multiple ignore-path Prettier 2.x doesn't support it. --- .prettierignore | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index bd5535a..c34c26c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ pnpm-lock.yaml +dist/ +.astro/ diff --git a/package.json b/package.json index 0d1d159..a290d23 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "build": "nx run-many --target=build", "lint": "nx run-many --target=lint", "type:check": "nx run-many --target=type:check", - "format": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --write --ignore-path ./.gitignore --ignore-path ./.prettierignore", - "format:check": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --check --ignore-path ./.gitignore --ignore-path ./.prettierignore" + "format": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --write", + "format:check": "prettier \"**/*.{astro,ts,cjs,css,json,md,yml,yaml}\" --check" }, "devDependencies": { "@nix6839/prettier-config": "1.0.8",