-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.markdownlint.yaml
51 lines (41 loc) · 1.57 KB
/
.markdownlint.yaml
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
45
46
47
48
49
50
51
# Maintain a consistent coding style throughout the entire project codebase to
# ensure readability and maintainability. Consistent style not only improves
# collaboration but also makes the code easier to review and debug.
# Linter configuration for Markdown and CommonMark files. This tool is a style
# checker that uses a predefined set of rules to check source files for issues
# such as line length, trailing spaces, indention and more to check and format
# files based on the CommonMark specification. It is available as command line
# tool and work with Prettier for formatting. It can also integrate with your
# editor to display diagnostics like warnings or errors from the Markdown
# language server. These diagnostics are based on the rules defined in this
# configuration file. For more information about, refer to the docs and source
# code, see here: https://github.com/DavidAnson/markdownlint
# The rules are still a work in progress and subject to change. I still need
# to think about this configuration, and for now this is a base template.
---
default: true
# Line length
MD013: true
# Trailing heading
MD026:
punctuation: .,;:!。,;:!
# Multiple spaces blockquote
MD027: true
# Inline HTML
MD033:
allowed_elements: [center, details, div, h1, h2, strong, sub, sup, summary]
# Emphasis heading
MD036:
punctuation: .,;:!?。,;:!?
# Link fragments
MD051: true
# Maximum line length
line-length:
line_length: 80
heading_line_length: 64
code_block_line_length: 80
code_blocks: false
tables: false
headings: true
strict: false
stern: false