Skip to content

Commit f1de289

Browse files
committed
fix: Use rule alias instead of ID to improve readability of the configuration
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
1 parent 2e42b11 commit f1de289

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

common.markdownlint.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,34 @@ default: True
1313

1414
# Only allow consistent un-ordered list bullet style(allow alternations
1515
# in sub-levels)
16-
MD004:
16+
ul-style:
1717
style: sublist
1818

1919
# Only allow 4 spaces as indentation of lists
20-
MD007:
20+
ul-indent:
2121
indent: 4
2222

2323
# Only allow 2 spaces as linebreak sequence
24-
MD009:
24+
no-trailing-spaces:
2525
br_spaces: 2
2626

2727
# Disable line length limitation(not suitable with CJK context)
28-
MD013: False
28+
line-length: False
2929

3030
# Allow missing padding blank line between the heading markup and the context
31-
MD022: False
31+
blanks-around-headings: False
3232

3333
# Allow duplicated non-sibling heading text
34-
MD024:
34+
no-duplicate-heading:
3535
siblings_only: True
3636

3737
# Allow missing padding blank line between a list and its context
38-
MD032: False
38+
blanks-around-lists: False
3939

4040
# Allow using raw HTML markups as workarounds of deficiencies of Markdown
41-
MD033: False
41+
no-inline-html: False
4242

4343
# Allow using YAML front matter, while not require the definition of the
4444
# `title` property
45-
MD041:
45+
first-line-h1:
4646
front_matter_title: '.*'

0 commit comments

Comments
 (0)