From ee61864642ec7f32fd88b785a2760585c948c4ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Mon, 29 May 2023 16:11:30 +0200 Subject: [PATCH] Cache eslint and prettier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- scripts/check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check b/scripts/check index 98a6c6cc3..97e05a12f 100755 --- a/scripts/check +++ b/scripts/check @@ -3,5 +3,5 @@ set -e npx tsc --noEmit npx svelte-check --tsconfig tsconfig.json -npx eslint . -npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check +npx eslint --cache --cache-location node_modules/.cache/eslint . +npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check --cache