Commit Graph

2 Commits

Author SHA1 Message Date
claude-code-best
30e863c9b8 fix: 调优 Biome lint 规则,关闭 formatter 避免大规模代码变更
- 关闭 formatter 和 organizeImports(保持原始代码风格,减少 git diff)
- lint/format script 改为 biome lint(只做规则检查)
- 新增关闭规则:noConsole, noArrayIndexKey, noConfusingLabels,
  useIterableCallbackReturn, noVoidTypeReturn, noConstantCondition,
  noUnusedFunctionParameters, noUselessEmptyExport, useArrowFunction,
  useLiteralKeys, useImportType, useNodejsImportProtocol
- 零源码改动,仅调整配置文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 07:34:29 +08:00
claude-code-best
4319afc08f feat: 配置 git pre-commit hook — 提交前自动运行 Biome 检查
使用 .githooks/ 目录 + core.hooksPath 方案,零依赖。
prepare script 确保 bun install 后自动激活。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 01:44:55 +08:00