-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint.yml
44 lines (34 loc) · 1.2 KB
/
.markdownlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Markdownlint(Node.js variant) configuration file
# https://github.com/igorshubovych/markdownlint-cli#configuration
#
# This file is based on The Common Markdownlint(Node.js variant) Configuration Templates project
# https://github.com/Lin-Buo-Ren/common-markdownlint-nodejs-config-templates
#
# Copyright 2021 林博仁(Buo-ren, Lin) <[email protected]>
# SPDX-License-Identifier: CC-BY-SA-4.0
# Inherit Markdownlint rules
default: True
# Only allow consistent un-ordered list bullet style(allow alternations in sub-levels)
MD004:
style: sublist
# Only allow 4 spaces as indentation of lists
MD007:
indent: 4
# Only allow 2 spaces as linebreak sequence
MD009:
br_spaces: 2
# Disable line length limitation(not suitable with CJK context)
MD013: False
# Allow missing padding blank line between the heading markup and the context
MD022: False
# Allow duplicated non-sibling heading text
MD024:
siblings_only: True
# Allow missing padding blank line between a list and its context
MD032: False
# Allow using raw HTML markups as workarounds of deficiencies of Markdown
MD033: False
# Allow using YAML front matter, while not require the definition of the
# `title` property
MD041:
front_matter_title: '.*'