forked from AdobeDocs/commerce-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint.yml
51 lines (48 loc) · 1.56 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
45
46
47
48
49
50
51
---
###########################
###########################
## Markdown Linter rules ##
###########################
###########################
# Linter rules doc:
# - https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
#
# Note:
# To comment out a single error:
# <!-- markdownlint-disable -->
# any violations you want
# <!-- markdownlint-restore -->
#
# Default state for all rules
default: false
#################
# Rules by tags #
#################
blanks-around-fences: true # Fenced code blocks should be surrounded by blank lines
blanks-around-headings: true # Headings should be surrounded by blank lines
blanks-around-lists: true # Lists should be surrounded by blank lines
code-block-style:
style: "fenced"
code-fence-style:
style: "backtick"
emphasis-style:
style: "consistent"
fenced-code-language: true # Fenced code blocks should have a language specified
heading-start-left: true # Headings must start at the beginning of the line
heading-style:
style: "atx"
hr-style: true # Horizontal rule style
list-indent: true # Inconsistent indentation for list items at the same level
no-empty-links: true
no-missing-space-atx: true # No space after hash on atx style heading
no-multiple-blanks: true # Multiple consecutive blank lines
no-reversed-links: true
no-space-in-code: true
no-space-in-emphasis: true
no-space-in-links: true
no-trailing-spaces: true
single-trailing-newline: true # Files should end with a single newline character
strong-style:
style: "consistent"
ul-style:
style: "consistent"