Skip to content

Commit dfc2e52

Browse files
committed
ci: update rumdl config
1 parent 24915ec commit dfc2e52

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

.rumdl.toml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,44 @@
22

33
[global]
44
line-length = 80
5-
disable = [
6-
"MD032", # blanks-around-lists: space waster
7-
]
5+
disable = ["blanks-around-lists"] # rule of proximity
86

97
# ------------------------------------------------------------------------------
108

11-
[MD004] # ul-style
9+
[ul-style]
1210
style = "dash" # GitHub default & quicker to type
1311

14-
[MD007] # ul-indent
12+
[ul-indent]
1513
indent = 4 # consistent with .editorconfig
1614

17-
[MD013] # line-length
15+
[line-length]
1816
code-blocks = false
1917
reflow = true # enable auto-formatting
2018

21-
[MD022] # blanks-around-headings
19+
[blanks-around-headings]
2220
lines-below = 0 # rule of proximity
2321

24-
[MD029] # ol-prefix
22+
[ol-prefix]
2523
style = "ordered"
2624

27-
[MD033] # inline-html
25+
[no-inline-html]
2826
allowed-elements = ["a", "img"] # badges
2927

30-
[MD049] # emphasis-style
31-
style = "asterisk" # better than underscore, since it's not considered a word-char
28+
[emphasis-style]
29+
style = "asterisk" # better than underscore, since not considered a word-char
3230

33-
[MD050] # strong-style
34-
style = "asterisk" # better than underscore, since it's not considered a word-char
31+
[strong-style]
32+
style = "asterisk"
3533

36-
[MD060] # auto-format tables
37-
enabled = true # opt-in, since disabled by default
34+
[table-format]
35+
enabled = true # opt-in rule
3836

39-
[MD063] # heading-capitalization
40-
enabled = true # opt-in, since disabled by default
37+
[heading-capitalization]
38+
enabled = true # opt-in rule
4139
style = "sentence_case"
42-
ignore-words = ["nvim"]
40+
ignore-words = ["nvim", "Obsidian", "Alfred"]
4341

4442
# ------------------------------------------------------------------------------
4543

4644
[per-file-ignores]
47-
# does not need to start with h1
48-
".github/pull_request_template.md" = ["MD041"]
45+
".github/pull_request_template.md" = ["first-line-h1"]

0 commit comments

Comments
 (0)