From 36f80431d343e6f7f0632f6823dc1daeeea8170e Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Fri, 22 Mar 2024 01:09:23 +0800 Subject: [PATCH] chore: add markdown lint config --- .markdownlint.json | 25 +++++++++++++++++++++++++ .markdownlintignore | 4 ++++ 2 files changed, 29 insertions(+) create mode 100644 .markdownlint.json create mode 100644 .markdownlintignore diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 00000000..a991f3ff --- /dev/null +++ b/.markdownlint.json @@ -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 +} diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 00000000..c04736b5 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,4 @@ +**/node_modules/** +**/*.snippet.md +CHANGELOG.*.md +CHANGELOG.md