Skip to content

Commit 50d6cf1

Browse files
Craun718fu050409
andauthored
ci: fix markdown lint (#54)
Co-authored-by: 苏向夜 <[email protected]> Co-authored-by: 苏向夜 <[email protected]>
1 parent cde62da commit 50d6cf1

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.changes/.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"MD041": false
2+
"MD041": false,
3+
"MD013": false
34
}

.github/workflows/unit-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Markdown lint
2626
uses: DavidAnson/markdownlint-cli2-action@v20
2727
with:
28-
globs: "**/*.md"
29-
28+
globs: |
29+
"**/*.md"
30+
"!CHANGELOG.md"
31+
3032
- name: Install
3133
run: pnpm install
3234

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
- Use `left-solid`, `right-solid`, `transparent` and `solid` as the value of `background` option.
7676
- Default to use `right-solid` as the value of `background` option in `Bubble` component.
7777
- Remove `left-only` and `right-only` value in `Bubble` component.
78+
7879
- [`577946c`](https://github.com/DevCloudFE/matechat-react/commit/577946c3300207688c7b9927739b49536e1438a5) Bump dependencies.
7980

8081
## \[0.1.0-alpha.0]

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable MD041 -->
12
<div align="center">
23
<h1>MateChat React</h1>
34
</div>
@@ -95,7 +96,7 @@ We welcome all kinds of contributions:
9596
**Contributors:**
9697

9798
<a href="https://github.com/DevCloudFE/matechat-react/graphs/contributors">
98-
<img src="https://contrib.rocks/image?repo=DevCloudFE/matechat-react" />
99+
<img src="https://contrib.rocks/image?repo=DevCloudFE/matechat-react" alt="DevCloudFE/matechat-react contributors"/>
99100
</a>
100101

101102
---

README.zh-CN.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable MD041 -->
12
<div align="center">
23
<h1>MateChat React</h1>
34
</div>
@@ -101,7 +102,7 @@ export default function BubbleDemo() {
101102
**贡献者:**
102103

103104
<a href="https://github.com/DevCloudFE/matechat-react/graphs/contributors">
104-
<img src="https://contrib.rocks/image?repo=DevCloudFE/matechat-react" />
105+
<img src="https://contrib.rocks/image?repo=DevCloudFE/matechat-react" alt="DevCloudFE/matechat-react 项目贡献者"/>
105106
</a>
106107

107108
---
@@ -116,4 +117,4 @@ export default function BubbleDemo() {
116117

117118
## License
118119

119-
该项目已获得 [MIT 许可](./LICENSE).
120+
该项目已获得 [MIT 许可](./LICENSE).

0 commit comments

Comments
 (0)