From ef66e3aab4287356b8ca5e5541cd8950df43d83d Mon Sep 17 00:00:00 2001 From: Ben Irvin Date: Wed, 4 Jan 2023 17:27:54 +0100 Subject: [PATCH] use cache for lint-staged scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 064a914500..d74d3fcb06 100644 --- a/package.json +++ b/package.json @@ -57,10 +57,10 @@ }, "lint-staged": { "*.{js,md,css,scss,yaml,yml}": [ - "prettier --write" + "prettier --cache --cache-strategy content --write" ], "*.js": [ - "eslint --fix" + "eslint --cache --cache-strategy content --cache-location ./node_modules/.cache/eslint --fix" ] }, "devDependencies": {