|
2 | 2 |
|
3 | 3 | [global] |
4 | 4 | line-length = 80 |
5 | | -disable = [ |
6 | | - "MD032", # blanks-around-lists: space waster |
7 | | -] |
| 5 | +disable = ["blanks-around-lists"] # rule of proximity |
8 | 6 |
|
9 | 7 | # ------------------------------------------------------------------------------ |
10 | 8 |
|
11 | | -[MD004] # ul-style |
| 9 | +[ul-style] |
12 | 10 | style = "dash" # GitHub default & quicker to type |
13 | 11 |
|
14 | | -[MD007] # ul-indent |
| 12 | +[ul-indent] |
15 | 13 | indent = 4 # consistent with .editorconfig |
16 | 14 |
|
17 | | -[MD013] # line-length |
| 15 | +[line-length] |
18 | 16 | code-blocks = false |
19 | 17 | reflow = true # enable auto-formatting |
20 | 18 |
|
21 | | -[MD022] # blanks-around-headings |
| 19 | +[blanks-around-headings] |
22 | 20 | lines-below = 0 # rule of proximity |
23 | 21 |
|
24 | | -[MD029] # ol-prefix |
| 22 | +[ol-prefix] |
25 | 23 | style = "ordered" |
26 | 24 |
|
27 | | -[MD033] # inline-html |
| 25 | +[no-inline-html] |
28 | 26 | allowed-elements = ["a", "img"] # badges |
29 | 27 |
|
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 |
32 | 30 |
|
33 | | -[MD050] # strong-style |
34 | | -style = "asterisk" # better than underscore, since it's not considered a word-char |
| 31 | +[strong-style] |
| 32 | +style = "asterisk" |
35 | 33 |
|
36 | | -[MD060] # auto-format tables |
37 | | -enabled = true # opt-in, since disabled by default |
| 34 | +[table-format] |
| 35 | +enabled = true # opt-in rule |
38 | 36 |
|
39 | | -[MD063] # heading-capitalization |
40 | | -enabled = true # opt-in, since disabled by default |
| 37 | +[heading-capitalization] |
| 38 | +enabled = true # opt-in rule |
41 | 39 | style = "sentence_case" |
42 | | -ignore-words = ["nvim"] |
| 40 | +ignore-words = ["nvim", "Obsidian", "Alfred"] |
43 | 41 |
|
44 | 42 | # ------------------------------------------------------------------------------ |
45 | 43 |
|
46 | 44 | [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