Skip to content

Commit c956866

Browse files
committed
ci: update markdownlint config
1 parent 0dd34bf commit c956866

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.markdownlint.yaml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1-
# Defaults https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
21
# DOCS https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md
3-
#───────────────────────────────────────────────────────────────────────────────
2+
#-------------------------------------------------------------------------------
43

5-
# MODIFIED SETTINGS
6-
blanks-around-headings:
7-
lines_below: 0 # space waster
8-
ul-style: { style: sublist }
4+
default: warning
95

10-
# not autofixable
6+
#-MODIFIED SETTINGS-------------------------------------------------------------
7+
blanks-around-headings: { lines_below: 0 } # rule of proximity
8+
ul-style: { style: sublist }
119
ol-prefix: { style: ordered }
12-
line-length:
13-
tables: false
14-
code_blocks: false
15-
no-inline-html:
16-
allowed_elements: [img, details, summary, kbd, a, br]
10+
line-length: { tables: false, code_block_line_length: 90 }
11+
no-inline-html: { allowed_elements: [img, details, summary, kbd, a, table, tr, td] }
1712

18-
#─────────────────────────────────────────────────────────────────────────────
19-
# DISABLED
13+
#-DISABLED----------------------------------------------------------------------
2014
ul-indent: false # not compatible with using tabs
21-
no-hard-tabs: false # taken care of by editorconfig
15+
no-hard-tabs: false # taken care of by .editorconfig
2216
blanks-around-lists: false # space waster
23-
first-line-heading: false # e.g., ignore-comments
24-
no-emphasis-as-heading: false # sometimes useful
17+
first-line-heading: false # ignore-comments for linters can be in the first line
18+
no-emphasis-as-heading: false # for small sections that shouldn't be linked in the ToC

0 commit comments

Comments
 (0)