refactor: 精简 package.json scripts,引入 eslint-plugin-prettier 统一格式检查
删除 start/build:web/format:check,简化 check 为 typecheck+lint+test 引入 eslint-plugin-prettier 将 Prettier 集成至 ESLint,统一质量检查入口 简化 lint-staged 配置,扩展 clean 清理范围至 dist/
This commit is contained in:
@@ -4,7 +4,8 @@ import { resolve } from "node:path";
|
||||
const root = resolve(import.meta.dir, "..");
|
||||
|
||||
const patterns: Array<{ desc: string; glob: string }> = [
|
||||
{ desc: "Bun 构建缓存", glob: ".build/" },
|
||||
{ desc: "构建产物", glob: "dist/**" },
|
||||
{ desc: "Bun 构建缓存", glob: ".build/**" },
|
||||
{ desc: "Bun 构建临时文件", glob: ".*.bun-build" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user