From e30b7a715eb14e527479f8d8bce53859994c1759 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 11 Aug 2026 11:23:44 +0800 Subject: [PATCH] chore(ci): use rs check --- .github/workflows/lint.yml | 7 ++----- AGENTS.md | 3 +-- package.json | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 28062ae7..dcd7591d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,11 +46,8 @@ jobs: - name: Build Native Binding run: pnpm --filter rstack build:native - - name: Lint - run: node --run lint - - - name: Check Format - run: node --run check:format + - name: Check + run: node --run check - name: Check Spell run: node --run check:spell diff --git a/AGENTS.md b/AGENTS.md index 27ee7f4e..e8e3b4c5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,13 +14,12 @@ corepack enable && pnpm install # dev checks -pnpm lint +pnpm check pnpm test # build / format / spelling pnpm build pnpm format -pnpm check:format pnpm check:spell # focused work diff --git a/package.json b/package.json index ce427064..7d2aa3e5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "module", "scripts": { "build": "pnpm --filter \"./packages/**\" build", - "check:format": "rs fmt --check", + "check": "rs check --type-check", "check:spell": "pnpm dlx cspell && heading-case", "doc": "pnpm --dir website dev", "doc:build": "node --run build && pnpm --dir website build",