From 2406bb29518db519cb1397c93ecb0677d4a24818 Mon Sep 17 00:00:00 2001 From: Min Idzelis Date: Sat, 28 Jun 2025 04:03:26 +0000 Subject: [PATCH] sync before lint/check --- web/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/package.json b/web/package.json index 1897005c5b..96e42e6b1b 100644 --- a/web/package.json +++ b/web/package.json @@ -10,13 +10,13 @@ "package": "svelte-kit package", "preview": "vite preview", "check:svelte": "svelte-check --no-tsconfig --fail-on-warnings --compiler-warnings 'reactive_declaration_non_reactive_property:ignore' --ignore src/lib/components/photos-page/asset-grid.svelte", - "check:typescript": "tsc --noEmit", + "check:typescript": "svelte-kit sync && tsc --noEmit", "check:watch": "npm run check:svelte -- --watch", "check:code": "npm run format && npm run lint:p && npm run check:svelte && npm run check:typescript", "check:all": "npm run check:code && npm run test:cov", - "lint": "eslint . --max-warnings 0", - "lint:p": "eslint-p . --max-warnings 0 --concurrency=4", - "lint:fix": "npm run lint -- --fix", + "lint": "svelte-kit sync && eslint . --max-warnings 0", + "lint:p": "svelte-kit sync && eslint-p . --max-warnings 0 --concurrency=4", + "lint:fix": "svelte-kit sync && npm run lint -- --fix", "format": "prettier --check .", "format:fix": "prettier --write . && npm run format:i18n", "format:i18n": "npx --yes sort-json ../i18n/*.json",