aboutsummaryrefslogtreecommitdiffstats
path: root/tooling
diff options
context:
space:
mode:
Diffstat (limited to 'tooling')
-rw-r--r--tooling/prettier/package.json3
-rw-r--r--tooling/tailwind/package.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/tooling/prettier/package.json b/tooling/prettier/package.json
index f3332e50..2ce8e7bd 100644
--- a/tooling/prettier/package.json
+++ b/tooling/prettier/package.json
@@ -8,7 +8,8 @@
},
"scripts": {
"clean": "rm -rf .turbo node_modules",
- "format": "prettier --check . --ignore-path ../../.gitignore",
+ "format": "prettier . --cache --ignore-path ../../.prettierignore --check",
+ "format:fix": "prettier . --cache --write --ignore-path ../../.prettierignore",
"typecheck": "tsc --noEmit"
},
"dependencies": {
diff --git a/tooling/tailwind/package.json b/tooling/tailwind/package.json
index 91a8c342..6f92c214 100644
--- a/tooling/tailwind/package.json
+++ b/tooling/tailwind/package.json
@@ -11,8 +11,8 @@
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
- "format": "prettier .",
- "format:fix": "prettier . --write",
+ "format": "prettier . --cache --ignore-path ../../.prettierignore --check",
+ "format:fix": "prettier . --cache --write --ignore-path ../../.prettierignore",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"typecheck": "tsc --noEmit"