mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
I've prefered the node based linter to the ruby one, but it didn't have a CLI until recently. Also the config file is in an easier format.
17 lines
441 B
Plaintext
17 lines
441 B
Plaintext
{
|
|
// Enable all markdownlint rules
|
|
"default": true,
|
|
|
|
// Disable line length check for tables and code blocks
|
|
"MD013": { "line_length": 80, "code_blocks": false, "tables": false },
|
|
|
|
// Set Ordered list item prefix to "ordered" (use 1. 2. 3. not 1. 1. 1.)
|
|
"MD029": { "style": "ordered" },
|
|
|
|
// Set list indent level to 4 which Python-Markdown requires
|
|
"MD007": { "indent": 4 },
|
|
|
|
// Exclude code block style
|
|
"MD046": false
|
|
}
|