Skip to content

Commit 8e53032

Browse files
committed
chore: switch to markdownlint-cli2
Signed-off-by: JP-Ellis <josh@jpellis.me>
1 parent 587579a commit 8e53032

File tree

3 files changed

+36
-31
lines changed

3 files changed

+36
-31
lines changed

.markdownlint-cli2.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
ignores:
3+
- .github/PULL_REQUEST_TEMPLATE.md
4+
5+
config:
6+
default: true
7+
8+
# Do not enforce line length
9+
line-length: false
10+
11+
# Adjust list indentation for 4 spaces
12+
list-marker-space:
13+
ul_single: 3
14+
ul_multi: 3
15+
ol_single: 2
16+
ol_multi: 2
17+
18+
ul-indent:
19+
indent: 4
20+
21+
# Require fenced code blocks
22+
code-block-style:
23+
style: fenced
24+
25+
# Disable checking for reference links, as MkDocs generates additional ones that
26+
# are not visible to MarkdownLint.
27+
reference-links-images: false
28+
29+
strong-style:
30+
style: asterisk
31+
32+
emphasis-style:
33+
style: underscore

.markdownlint.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,10 @@ repos:
6060
hooks:
6161
- id: committed
6262

63-
- repo: https://github.com/igorshubovych/markdownlint-cli
64-
rev: v0.45.0
63+
- repo: https://github.com/DavidAnson/markdownlint-cli2
64+
rev: v0.19.0
6565
hooks:
66-
- id: markdownlint
67-
exclude: |
68-
(?x)^(
69-
.github/PULL_REQUEST_TEMPLATE\.md |
70-
CHANGELOG.md
71-
)$
66+
- id: markdownlint-cli2
7267

7368
- repo: https://github.com/crate-ci/typos
7469
rev: v1.39.2

0 commit comments

Comments
 (0)