summaryrefslogtreecommitdiffstats
path: root/.markdownlint-cli2.yaml
blob: e42d18e03da2c33bfb576d36d8b49d2019f0853e (plain)
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
#
# An example .markdownlint-cli2.yaml file
#

# 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

# Fix any fixable errors
fix: true

# Disable inline config comments
noInlineConfig: true

# Disable progress on stdout (only valid at root)
noProgress: true