chore: add markdown lint config

This commit is contained in:
pengzhanbo 2024-03-22 01:09:23 +08:00
parent 23d1128c4b
commit 36f80431d3
2 changed files with 29 additions and 0 deletions

25
.markdownlint.json Normal file
View File

@ -0,0 +1,25 @@
{
"default": true,
"heading-style": {
"style": "atx"
},
"ul-style": {
"style": "dash"
},
"no-duplicate-heading": false,
"first-line-h1": false,
"first-line-heading": false,
"no-blanks-blockquote": false,
"line-length": {
"line_length": 140,
"tables": false,
"code_blocks": false
},
"no-inline-html": false,
"hr-style": {
"style": "---"
},
"fenced-code-language": false,
"code-block-style": false,
"emphasis-style": false
}

4
.markdownlintignore Normal file
View File

@ -0,0 +1,4 @@
**/node_modules/**
**/*.snippet.md
CHANGELOG.*.md
CHANGELOG.md