60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
|
{
|
||
|
// vim: ft=jsonc foldlevel=0 sw=2 ts=2 sts=2 et
|
||
|
// Conf(current file) is not recognized when commented outside root {}
|
||
|
// npm rc standards only recognizes json, ini
|
||
|
// Ref
|
||
|
// - https://www.npmjs.com/package/rc#standards
|
||
|
// - https://github.com/igorshubovych/markdownlint-cli
|
||
|
// - https://github.com/DavidAnson/markdownlint
|
||
|
// - https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc
|
||
|
// - https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
|
||
|
// Plugins for other editors
|
||
|
// - https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
|
||
|
|
||
|
// Default state for all rules
|
||
|
"default": true,
|
||
|
// Path to configuration file to extend
|
||
|
"extends": null,
|
||
|
// MD007/ul-indent - Unordered list indentation
|
||
|
"MD007": {
|
||
|
// Why indent size defaults to 2?
|
||
|
// https://github.com/DavidAnson/markdownlint/issues/141
|
||
|
// 2 spaces indent has compatibility issues:
|
||
|
// - multi-markdown parsers require 4-space indents
|
||
|
// - vim sleuth, polyglot have no support for 2 space auto indent with o
|
||
|
"indent": 2
|
||
|
},
|
||
|
// MD010/no-hard-tabs - Hard tabs
|
||
|
"MD010": {
|
||
|
"code_blocks": false
|
||
|
},
|
||
|
// MD013/line-length - Line length
|
||
|
// VSCode plugin disable this check by default
|
||
|
"MD013": false,
|
||
|
// "MD013": {
|
||
|
// "line_length": 80,
|
||
|
// "heading_line_length": 80,
|
||
|
// "code_block_line_length": 80,
|
||
|
// "code_blocks": false,
|
||
|
// "tables": false,
|
||
|
// "headings": true,
|
||
|
// "strict": false
|
||
|
// // "stern": false
|
||
|
// },
|
||
|
// MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
||
|
"MD024": {
|
||
|
// Only check sibling headings
|
||
|
"siblings_only": true
|
||
|
// allow_different_nesting, an alternative
|
||
|
},
|
||
|
// MD033/no-inline-html - Inline HTML
|
||
|
"MD033": {
|
||
|
"allowed_elements": [
|
||
|
"details", "summary",
|
||
|
"kbd"
|
||
|
]
|
||
|
},
|
||
|
// MD034/no-bare-urls - Bare URL used
|
||
|
"MD034": false
|
||
|
}
|