From 1b730da4019e0f531d465126c0b8bb68a192f030 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 3 Nov 2026 13:07:14 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E6=A0=BC=E5=BC=8F=E5=8C=96):=20=E8=A1=A5?= =?UTF-8?q?=E4=B8=8A=20learn.css=20=E4=B9=9F=E4=BC=9A=E8=A2=AB=20vp=20fmt?= =?UTF-8?q?=20=E5=92=8C=20bun=20fmt=20=E6=9D=A5=E5=9B=9E=E6=94=B9=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=80=8E=E4=B9=88=E5=88=97=E5=87=BA=E5=8F=97?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 59e28a4..fdc3db7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -62,7 +62,8 @@ cd apps/web && bun run build # 前端构建(不在 verify 里 配置都只在根目录的 `vite.config.ts` 一份:`fmt` 块(Oxfmt 的写法,`bun fmt` 直接读它; `semi: false`、`singleQuote: true`、`printWidth: 160`)、`lint` 块(Oxlint,`denyWarnings`)、`run.tasks` (`verify` 和它依赖的四个检查)。**别用 `vp fmt` / `vp check`**:Oxfmt 和 `bun fmt` 只在 -长 CSS 值列表的折行上不一样,混着跑会把 `apps/web/public/style.css` 来回改。前端自己的构建 +长 CSS 值列表的折行上不一样,混着跑会把 `apps/web/public/style.css`、`apps/web/src/oj/learn/learn.css` 来回改 +(`vp fmt --list-different` 能列出当前受影响的文件)。前端自己的构建 配置在 `apps/web/vite.config.ts`,和根目录那份无关。 - 格式化只管代码:`.md` / `.yml` / `.json` / `.toml` 在 `fmt.ignorePatterns` 里排掉了