Skip to content

fix(lint-md-action): use showResult() to output detailed lint errors - #16

Merged
luojiyin1987 merged 1 commit into
mainfrom
fix/show-detailed-errors
Jun 16, 2026
Merged

luojiyin1987 merged 1 commit into
mainfrom
fix/show-detailed-errors

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

改动

将 showResult() 中的 this.linter.printOverview() 替换为 this.linter.showResult()。

之前只输出一行汇总信息:

Lint total 3 files, 0 warnings 1 errors

现在输出详细的逐文件逐行错误:

/home/user/repo/bad.md
   1:15-1:16             space-round-alphabet          No space between Chinese and alphabet.
   4:1-4:2               no-empty-list                 List content can not be empty.

closes #11

@luojiyin1987
luojiyin1987 merged commit 67c74a1 into main Jun 16, 2026
2 of 3 checks passed
@luojiyin1987
luojiyin1987 deleted the fix/show-detailed-errors branch June 16, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lint error 后没有输出错误的详情

1 participant