Skip to content

Commit cde62da

Browse files
authored
chore(lint): setup markdown lint (#52)
1 parent 77fcc12 commit cde62da

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.changes/.markdownlint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"MD041": false
3+
}

.changes/background-option.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Optimize `background` option of `BubbleList` component.
66

77
BREAKING CHANGES:
88

9-
- Use `left-solid`, `right-solid`, `transparent` and `solid` as the value of `background` option.
9+
- Use `left-solid`, `right-solid`, `transparent` and `solid` as the value of
10+
`background` option.
1011
- Default to use `right-solid` as the value of `background` option in `Bubble` component.
1112
- Remove `left-only` and `right-only` value in `Bubble` component.

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"tsdown",
1414
"unbundle",
1515
"xlink"
16-
]
16+
],
17+
"ignoreWords": ["Anson"]
1718
}

.github/workflows/unit-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
node-version: lts/*
2323
cache: pnpm
2424

25+
- name: Markdown lint
26+
uses: DavidAnson/markdownlint-cli2-action@v20
27+
with:
28+
globs: "**/*.md"
29+
2530
- name: Install
2631
run: pnpm install
2732

.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD013": false,
3+
"MD033": false
4+
}

0 commit comments

Comments
 (0)