Loading...
Loading...
Compare original and translation side by side
MANDATORY: Run appropriate validation tools after EVERY code change. Do not finish a task until the code is error-free.
**强制要求:**每次修改代码后运行相应的验证工具。代码无错误前不得完成任务。
npm run lintnpx eslint "path" --fixnpx tsc --noEmitnpm audit --audit-level=highnpm run lintnpx eslint "path" --fixnpx tsc --noEmitnpm audit --audit-level=highruff check "path" --fixbandit -r "path" -llmypy "path"ruff check "path" --fixbandit -r "path" -llmypy "path"npm run lint && npx tsc --noEmitnpm run lint && npx tsc --noEmitlinttsc.eslintrctsconfig.jsonpyproject.tomllinttsc.eslintrctsconfig.jsonpyproject.toml| Script | Purpose | Command |
|---|---|---|
| Unified lint check | |
| Type coverage analysis | |
| 脚本 | 用途 | 命令 |
|---|---|---|
| 统一代码检查 | |
| 类型覆盖率分析 | |