summaryrefslogtreecommitdiffstats
path: root/.markdownlint.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-07-28 03:22:47 +0200
committerGitHub <noreply@github.com>2022-07-28 09:22:47 +0800
commitae52df6a64477bcd5076ddddbee64bb22b3897a0 (patch)
tree2950725dedb126fdff5f65fdd66cd61329e8c806 /.markdownlint.yaml
parent6554d5197fa4082f3058ee880d2d6d80fbd97a56 (diff)
downloadgitea-ae52df6a64477bcd5076ddddbee64bb22b3897a0.tar.gz
gitea-ae52df6a64477bcd5076ddddbee64bb22b3897a0.zip
Add markdownlint (#20512)
Add `markdownlint` linter and fix issues. Config is based on the one from electron's repo with a few rules relaxed.
Diffstat (limited to '.markdownlint.yaml')
-rw-r--r--.markdownlint.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.markdownlint.yaml b/.markdownlint.yaml
new file mode 100644
index 0000000000..7ccdd53e89
--- /dev/null
+++ b/.markdownlint.yaml
@@ -0,0 +1,18 @@
+commands-show-output: false
+fenced-code-language: false
+first-line-h1: false
+header-increment: false
+line-length: {code_blocks: false, tables: false, stern: true, line_length: -1}
+no-alt-text: false
+no-bare-urls: false
+no-blanks-blockquote: false
+no-duplicate-header: {allow_different_nesting: true}
+no-emphasis-as-header: false
+no-empty-links: false
+no-hard-tabs: {code_blocks: false}
+no-inline-html: false
+no-space-in-code: false
+no-space-in-emphasis: false
+no-trailing-punctuation: false
+no-trailing-spaces: {br_spaces: 0}
+single-h1: false