Skip to content

Commit 0279f0e

Browse files
committed
Update to markdownlint-cli2
1 parent c1f5715 commit 0279f0e

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
2+
# and https://github.com/DavidAnson/markdownlint-cli2
3+
4+
# Configuration for markdownlint rules
5+
config:
6+
# Default state for all rules
7+
default: true
8+
9+
ul-style: false
10+
line-length: false
11+
no-duplicate-header:
12+
siblings_only: true
13+
ol-prefix:
14+
style: ordered
15+
no-inline-html: false
16+
fenced-code-language: false
17+
18+
# Globs to ignore (in addition to .gitignore)
19+
ignores:
20+
- "**/build/**"
21+
- "CHANGELOG.md"
22+
- "licenses/licenses.md"

.github/config/markdownlint.yml

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

.github/workflows/reusable-markdown-lint-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414

1515
- name: Run markdownlint
1616
run: |
17-
npx markdownlint-cli@0.46.0 -c .github/config/markdownlint.yml -p .gitignore **/*.md -i licenses/licenses.md
17+
npx markdownlint-cli2@0.17.1 --config .github/config/.markdownlint-cli2.yaml "**/*.md"

0 commit comments

Comments
 (0)