From fba645a30ac09d877457bc26e4a50dd9f5c04456 Mon Sep 17 00:00:00 2001 From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:26:29 +0100 Subject: [PATCH] Ignore client folder (#648) --- new-frontend/.prettierignore | 1 + new-frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 new-frontend/.prettierignore diff --git a/new-frontend/.prettierignore b/new-frontend/.prettierignore new file mode 100644 index 0000000000..094e68d9c4 --- /dev/null +++ b/new-frontend/.prettierignore @@ -0,0 +1 @@ +src/client/ diff --git a/new-frontend/package.json b/new-frontend/package.json index 6e7a135d62..4ca32e4655 100644 --- a/new-frontend/package.json +++ b/new-frontend/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "format": "prettier --write ./src/**/*.{ts,tsx,js,jsx,json,md}", + "format": "prettier --write ./src/**/*.{ts,tsx,js,jsx,json,md} --ignore-path .prettierignore", "preview": "vite preview", "generate-client": "openapi --input ./openapi.json --useOptions --useUnionTypes --output ./src/client --client axios --exportSchemas true" },