From 3db1013b7486394064627a554fef6a3b24a65117 Mon Sep 17 00:00:00 2001 From: itsMapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Wed, 16 Aug 2023 20:44:35 -0500 Subject: [PATCH] also sync before lint --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 149688a..a8bf1d1 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "scripts": { "lint": "run-p --print-label --continue-on-error --silent lint:*", "lint:prettier": "prettier --cache --check .", - "lint:eslint": "eslint . --report-unused-disable-directives", - "lint:tsc": "pnpm --filter website exec astro sync && pnpm -r --parallel --no-bail exec tsc -b", + "lint:eslint": "pnpm astro-sync && eslint . --report-unused-disable-directives", + "lint:tsc": "pnpm astro-sync && pnpm -r --parallel --no-bail exec tsc -b", "lint:tsc-root": "tsc -b", + "astro-sync": "pnpm --filter website exec astro sync", "format": "run-s --continue-on-error format:*", "format:eslint": "eslint . --report-unused-disable-directives --fix", "format:prettier": "prettier --cache --write .",