Skip to content

Commit 28d1910

Browse files
committed
Update script and add .markdownlint.yaml
1 parent 6b842cc commit 28d1910

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.markdownlint.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Unordered list symbol
2+
MD004:
3+
style: asterisk
4+
5+
# Unordered list indentation
6+
MD007:
7+
indent: 2
8+
9+
MD012: false # allow blank lines
10+
11+
MD013:
12+
line_length: 800
13+
tables: false
14+
15+
MD024: false # duplicate headings
16+
MD033: false # inline HTML

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
"API"
4040
],
4141
"scripts": {
42-
"format-markdown": "npx prettier --write --single-quote versions/3.0.4.md && npx --yes markdownlint-cli --fix --config .markdownlint.yaml versions/3.0.4.md"
42+
"format-markdown": "npx prettier --write --single-quote versions/3.2.0.md && npx --yes markdownlint-cli --fix --config .markdownlint.yaml versions/3.2.0.md"
4343
}
4444
}

0 commit comments

Comments
 (0)