auto-cr-rules 2.0.87 → 2.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,7 +43,7 @@ Common flags:
43
43
  - `--language <zh|en>`: Switch CLI output language (defaults to auto-detection).
44
44
  - `--rule-dir <directory>`: Load additional custom rules from a directory or package.
45
45
  - `--output <text|json>`: Choose between human-friendly text logs or structured JSON results (defaults to `text`).
46
- - `--progress [stdout|stderr]`: Force progress display (text output only); use `stderr` to keep stdout clean for piping.
46
+ - `--progress [tty-only|yes|no]`: Progress mode (text output only, default `tty-only`); output goes to `stderr`.
47
47
  - `--config <path>`: Point to a `.autocrrc.json` or `.autocrrc.js` file to enable/disable rules.
48
48
  - `--ignore-path <path>`: Point to a `.autocrignore.json` or `.autocrignore.js` file to exclude files/directories from scanning.
49
49
  - `--tsconfig <path>`: Use a custom `tsconfig.json` (defaults to `<cwd>/tsconfig.json`).
package/README.zh-CN.md CHANGED
@@ -43,7 +43,7 @@ npx auto-cr-cmd --language zh [需要扫描的代码目录]
43
43
  - `--language <zh|en>`:切换 CLI 输出语言(默认为自动检测)。
44
44
  - `--rule-dir <directory>`:加载额外的自定义规则目录或包。
45
45
  - `--output <text|json>`:选择输出格式,`text` 为友好的终端日志,`json` 用于集成脚本(默认为 `text`)。
46
- - `--progress [stdout|stderr]`:强制显示扫描进度(仅 text 输出),可选输出到 stdout/stderr,使用 stderr 可避免影响 stdout 管道。
46
+ - `--progress [tty-only|yes|no]`:进度显示模式(仅 text 输出,默认 `tty-only`),输出到 stderr
47
47
  - `--config <path>`:指定 `.autocrrc.json` 或 `.autocrrc.js` 配置文件路径,用于开启/关闭规则。
48
48
  - `--ignore-path <path>`:指定 `.autocrignore.json` 或 `.autocrignore.js` 忽略文件路径,用于排除扫描。
49
49
  - `--tsconfig <path>`:指定自定义 `tsconfig.json` 路径(默认读取 `<cwd>/tsconfig.json`)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-cr-rules",
3
- "version": "2.0.87",
3
+ "version": "2.0.89",
4
4
  "description": "Extensible static analysis rule set for the auto-cr automated code review toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",