forked from slowtec/tokio-modbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint-cli2.yaml
45 lines (34 loc) · 1.38 KB
/
.markdownlint-cli2.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
# SPDX-FileCopyrightText: Copyright (c) 2017-2024 slowtec GmbH <post@slowtec.de>
# SPDX-License-Identifier: CC0-1.0
# Disable some built-in rules
config:
default: true
# The same headline in different nested sections is okay (and necessary for
# CHANGELOG.md).
no-duplicate-header:
allow_different_nesting: true
# We use ordered lists to make stuff easier to read in a text editor.
ol-prefix:
style: ordered
# Not wrapping long lines makes diffs easier to read, especially for prose.
# Instead, we should follow the "one sentence per line" pattern.
line-length: false
# Dollar signs are useful to indicate shell commands/type and help
# distinguishing wrapped lines from new commands.
commands-show-output: false
# Indented code blocks are easier to read in a text editor, but don't allow
# specifying a language for syntax highlighting. Therefore both indented and
# fenced code block should be allowed depending on the use case.
code-block-style: false
# MD024/no-duplicate-heading: Multiple headings with the same content
# Used in CHANGELOG.md
no-duplicate-heading: false
# MD026/no-trailing-punctuation: Trailing punctuation in heading
# Used in README.md
no-trailing-punctuation: false
# Fix any fixable errors
fix: true
# Disable inline config comments
noInlineConfig: true
# Disable progress on stdout (only valid at root)
noProgress: true