-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Expand file tree
/
Copy path.markdownlint-cli2.jsonc
More file actions
25 lines (23 loc) · 1.24 KB
/
Copy path.markdownlint-cli2.jsonc
File metadata and controls
25 lines (23 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
// Scoped to the docs contributors actually edit. The course content and
// internal notes are left alone on purpose.
"globs": ["README.md", "CONTRIBUTION.md", "SECURITY.md", "CODE_OF_CONDUCT.md", "agents/**/*.md"],
"config": {
// Cosmetic rules are off on purpose - this repo is tables and badges, and
// reformatting 400 lines to satisfy a linter buys nothing.
"MD013": false, // line length - every table row exceeds 80 chars
"MD022": false, // blank lines around headings
"MD031": false, // blank lines around fences
"MD032": false, // blank lines around lists
"MD033": false, // inline HTML - the badge and centering blocks need it
"MD034": false, // bare URLs - contact emails are intentional
"MD036": false, // emphasis as heading - deliberate in the AutoGen subsections
"MD040": false, // fence language - sample-output blocks have none by design
"MD041": false, // first line must be a heading
"MD060": false, // table pipe spacing
// What stays on is the set that catches real defects in contributor PRs:
// MD011 reversed link syntax, MD042 empty links, MD051 broken heading
// anchors, MD039 spaces inside link text, MD024 duplicate headings.
"MD024": { "siblings_only": true }
}
}