From 44cd6c6595dd5d91c355efbd5a4d2f07e80262fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Fri, 29 May 2026 16:53:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20=E4=BF=AE=E5=A4=8D=20tsc=20?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=BC=95=E7=94=A8=20+=20ESLint=20=E9=99=90?= =?UTF-8?q?=E5=88=B6=E6=89=AB=E6=8F=8F=E8=8C=83=E5=9B=B4=20+=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20.eslintignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .eslintignore | 6 ++++++ .github/workflows/ci.yml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..a25faf3 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +node_modules/ +dist/ +target/ +test-results/ +e2e/ +*.config.* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c90e281..302a499 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,10 +25,10 @@ jobs: - run: npm ci - name: TypeScript 类型检查 - run: npx tsc --noEmit + run: npx tsc -b --noEmit - name: ESLint - run: npm run lint + run: npx eslint src/ tests/ - name: Vitest 测试 run: npm test