From 6df106ca4763be739ad7cd099358f5c55d1de549 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Fri, 24 Feb 2023 17:09:23 +0100 Subject: [PATCH] Add cache to lint-staged for prettier (#4862) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index afe6d5b61f1..639237e1993 100644 --- a/package.json +++ b/package.json @@ -203,7 +203,7 @@ "react": "^18.0.0" }, "lint-staged": { - "*": "prettier --ignore-unknown --write", + "*": "prettier --cache --ignore-unknown --write", "*.ts": "eslint --cache --cache-strategy content --fix" }, "engines": {