Commit 11a7950d261194dfc5c2aa5d5ae8ede450e1be7b

Authored by zichun
1 parent c0ade4a0

chore(usr): 修复前端 lint 配置(eslint 未安装,改为 tsc --noEmit)

Showing 1 changed file with 1 additions and 1 deletions
frontend/package.json
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 "scripts": { 6 "scripts": {
7 "dev": "vite", 7 "dev": "vite",
8 "build": "tsc && vite build", 8 "build": "tsc && vite build",
9 - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", 9 + "lint": "tsc --noEmit",
10 "preview": "vite preview", 10 "preview": "vite preview",
11 "test": "vitest" 11 "test": "vitest"
12 }, 12 },