From 701a19bd3d867ea7023957c84d198b6fbba1e982 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Tue, 17 Dec 2024 17:46:23 +0100 Subject: [PATCH] fix(website): revert eslint path change in package.json" (#3462) fixes #3461, regression introduced by change in #3450 see https://github.com/loculus-project/loculus/pull/3450/files#r1888857081 --- website/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/package.json b/website/package.json index 735bfc3412..868ba64d08 100644 --- a/website/package.json +++ b/website/package.json @@ -11,8 +11,8 @@ "build": "astro build", "preview": "astro preview", "astro": "astro", - "check-format": "eslint --cache . && prettier --ignore-path \"../.gitignore\" --check \"./**/*.{ts,tsx,json,astro,cjs,mjs,css,scss}\"", - "format": "eslint --cache . --fix && npm run format-fast", + "check-format": "eslint --cache \"./**/*.{ts,tsx,astro}\" && prettier --ignore-path \"../.gitignore\" --check \"./**/*.{ts,tsx,json,astro,cjs,mjs,css,scss}\"", + "format": "eslint --cache \"./**/*.{ts,tsx,astro}\" --fix && npm run format-fast", "format-fast": "prettier --ignore-path \"../.gitignore\" --write \"./**/*.{ts,tsx,json,astro,cjs,mjs,css,scss}\"", "test": "vitest", "test-fast": "vitest --bail=1",