dsh-outline-lint 0.1.1 → 0.1.3
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 +2 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -36,6 +36,8 @@ npx outline-lint report.md --warnings-fail
|
|
|
36
36
|
|
|
37
37
|
交付文档结构检查:缺标题、多个一级标题、标题跳级、开头没有结论、没有任何可复现命令。
|
|
38
38
|
|
|
39
|
+
**范围**:结论规则(no-conclusion)针对**报告类交付物**——研究报告、评审报告这类有「交代结论」义务的文档。参考文档(README、手册、 CHANGELOG)没有结论义务,对这些文件出现的 no-conclusion 是域外提示,不是缺陷。
|
|
40
|
+
|
|
39
41
|
Exit codes: `0` clean, `1` findings, `2` usage or read error. In DSH the same function is behind `POST /outline-lint/api` with `{"text":"…"}` or `{"path":"…"}`, so the panel and CI agree by construction.
|
|
40
42
|
|
|
41
43
|
Part of [dsh-verify-kit](https://github.com/zjukop3/dsh-verify-kit): five small deterministic checks, each one verb, each runnable without DSH.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-outline-lint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Shape check for delivered documents: no title, more than one level-1 heading, a lost heading level, no conclusion up front, and nothing a reader can run to reproduce the result.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=22.19.0"
|
|
20
|
+
"node": ">=22.19.0",
|
|
21
|
+
"dsh": ">=0.2.2-rc.1 <0.3.0-0"
|
|
21
22
|
},
|
|
22
23
|
"files": [
|
|
23
24
|
"src",
|