diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..c4cbfff --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +dist +node_modules +pnpm-lock.yaml diff --git a/package.json b/package.json index bc0249c..3388841 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test": "pnpm run test:client & pnpm run test:ssr", "test:client": "vitest", "test:ssr": "vitest --mode ssr", - "format": "prettier --cache --ignore-path .gitignore -w .", + "format": "prettier --cache -w .", "lint": "pnpm run lint:code & pnpm run lint:types", "lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}", "lint:types": "tsc --noEmit"