Skip to content

Commit 4de3b87

Browse files
committed
workflows: allow hard tabs in code blocks (MD010)
Hard tabs should be allowed in code blocks, because some languages may actually require them (and it's just easier:tm:). [skip ci] Signed-off-by: Luca Zeuch <[email protected]>
1 parent 8137ddb commit 4de3b87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/.markdownlint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ MD002: false
1717
MD004:
1818
style: "dash"
1919

20+
# MD010: Hard tabs.
21+
# ALlow hard tabs in code blocks, but not in normal text.
22+
MD010:
23+
code_blocks: false
24+
2025
# MD013: Line length.
2126
# Allow lines to be up to 120 characters long, see the .editorconfig file.
2227
# We also ignore code blocks, because they are often long and should not be

0 commit comments

Comments
 (0)