docs(zh-CN): sync Chinese docs with latest upstream changes (#341)

* docs(zh-CN): sync Chinese docs with latest upstream changes

* docs(zh-CN): update link

---------

Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
zdoc.app
2026-03-08 06:48:02 +08:00
committed by GitHub
parent da17d33ac3
commit abcf38b085
53 changed files with 2977 additions and 610 deletions

View File

@@ -0,0 +1,30 @@
# 质量门命令
按需对文件或项目范围运行 ECC 质量管道。
## 用法
`/quality-gate [path|.] [--fix] [--strict]`
* 默认目标:当前目录 (`.`)
* `--fix`:在已配置的地方允许自动格式化/修复
* `--strict`:在支持的地方警告即失败
## 管道
1. 检测目标的语言/工具。
2. 运行格式化检查。
3. 在可用时运行代码检查/类型检查。
4. 生成简洁的修复列表。
## 备注
此命令镜像了钩子行为,但由操作员调用。
## 参数
$ARGUMENTS:
* `[path|.]` 可选的目标路径
* `--fix` 可选
* `--strict` 可选