Skip to content

Commit fa5eede

Browse files
committed
chore: migrate contrib markdown lint to rumdl
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent aa1a523 commit fa5eede

3 files changed

Lines changed: 15 additions & 25 deletions

File tree

.github/config/.markdownlint-cli2.yaml

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

.github/config/.rumdl.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[global]
2+
disable = ["MD059", "line-length", "no-inline-html", "MD041", "ul-style", "fenced-code-language"]
3+
4+
[no-duplicate-heading]
5+
siblings-only = true
6+
7+
[no-trailing-punctuation]
8+
punctuation = ".,;:"
9+
10+
[ol-prefix]
11+
style = "ordered"

mise.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[tools]
22
"github:grafana/flint" = "0.21.0"
33
lychee = "0.23.0"
4-
markdownlint-cli2 = "0.22.0"
4+
rumdl = "0.1.83"
55

66
[env]
77
FLINT_CONFIG_DIR = ".github/config"
88

99
[tasks.lint]
10-
description = "Run link checks"
10+
description = "Run markdown and link linting"
1111
raw_args = true
12-
run = "flint run lychee"
12+
run = "flint run lychee rumdl"
1313

1414
[tasks."lint:fix"]
1515
description = "Auto-fix lint issues"
16-
run = "flint run --fix"
16+
run = "flint run --fix rumdl"

0 commit comments

Comments
 (0)