Replace 'committed' with conventional-pre-commit for stricter commit message standards. Add markdownlint-cli2 with auto-fix to maintain consistent documentation formatting. Configure lenient line length checking for markdown links (stern: false) to avoid breaking URLs. Fix existing markdown formatting issues including missing blank lines before lists.
50 lines
934 B
YAML
50 lines
934 B
YAML
# Markdown linting configuration
|
|
|
|
# Force specific heading style - ATX (# symbols)
|
|
MD003:
|
|
style: atx
|
|
|
|
# Force dash for unordered lists
|
|
MD004:
|
|
style: dash
|
|
|
|
# Line length - 100 chars, but don't check code blocks or tables
|
|
MD013:
|
|
code_blocks: false
|
|
line_length: 100
|
|
headings: false
|
|
stern: false
|
|
tables: false
|
|
|
|
# Allow dollar signs in code blocks (for shell prompts)
|
|
MD014: false
|
|
|
|
# Trailing punctuation in headings - allow ? and !
|
|
MD026:
|
|
punctuation: ".,;:"
|
|
|
|
# Force ordered numbering for lists (1. 2. 3. not 1. 1. 1.)
|
|
MD029:
|
|
style: ordered
|
|
|
|
# Allow inline HTML for special formatting
|
|
MD033: false
|
|
|
|
# Allow spaces inside link text for better readability
|
|
MD039: false
|
|
|
|
# Prefer fenced code blocks over indented
|
|
MD046:
|
|
style: fenced
|
|
|
|
# Force backticks for code fences
|
|
MD048:
|
|
style: backtick
|
|
|
|
# Force asterisk for emphasis
|
|
MD049:
|
|
style: asterisk
|
|
|
|
# Force double asterisk for strong emphasis
|
|
MD050:
|
|
style: asterisk
|