claude-code/TODO.md
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

1.0 KiB
Raw Blame History

TODO

尽可能实现下面的包, 使得与主包的关系完全吻合

Packages

  • url-handler-napi — URL 处理 NAPI 模块 (签名修正,保持 null fallback)
  • modifiers-napi — 修饰键检测 NAPI 模块 (Bun FFI + Carbon)
  • audio-capture-napi — 音频捕获 NAPI 模块 (SoX/arecord)
  • color-diff-napi — 颜色差异计算 NAPI 模块 (纯 TS 实现)
  • image-processor-napi — 图像处理 NAPI 模块 (sharp + osascript 剪贴板)

工程化能力

  • 代码格式化与校验
  • 冗余代码检查
  • git hook 的配置
  • 代码健康度检查
  • Biome lint 规则调优(适配反编译代码,关闭格式化避免大规模 diff
  • 单元测试基础设施搭建 (test runner 配置)
  • CI/CD 流水线 (GitHub Actions)