Skip to content

Commit dacecbb

Browse files
authored
Merge pull request #21 from imcf/ci/markdownlint
ci: enforce markdownlint on all markdown
2 parents 00db787 + 335b9ae commit dacecbb

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,13 @@ jobs:
2323
with:
2424
version: "0.15.18"
2525
args: "format --check"
26+
27+
markdownlint:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: markdownlint
33+
uses: DavidAnson/markdownlint-cli2-action@v20
34+
with:
35+
globs: "**/*.md"

.markdownlint-cli2.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# markdownlint-cli2 configuration — see https://github.com/DavidAnson/markdownlint
2+
config:
3+
MD013: false # line length (tables, code and long prose)
4+
MD033: false # inline HTML (badges, <img>)
5+
MD041: false # first line need not be a top-level heading (badges)
6+
MD024:
7+
siblings_only: true # repeated headings OK across different sections
8+
MD046: false # allow both indented and fenced code blocks
9+
MD060: false # don't enforce table pipe spacing style
10+
globs:
11+
- "**/*.md"
12+
ignores:
13+
- "site"
14+
- ".pixi"
15+
- "PUBLIC"
16+
- "**/node_modules"

0 commit comments

Comments
 (0)