mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
24 lines
No EOL
1 KiB
Text
24 lines
No EOL
1 KiB
Text
/*
|
|
* An example .markdownlint-cli2.jsonc file
|
|
*/
|
|
{
|
|
// Disable some built-in rules
|
|
"config": {
|
|
"MD001": false, // heading-increment 标题级别不需要逐级递增
|
|
"MD013": false, // line-length 禁止行长度限制
|
|
"MD024": false, // no-duplicate-heading 禁止重复标题
|
|
"MD029": false, // ol-prefix 列表前缀可以任意设置
|
|
"MD025": false, // single-title 同一文档只能有一个一级标题
|
|
"MD033": false, // no-inline-html 禁止行内HTML
|
|
"MD037": true,
|
|
"MD041": false, // first-line-heading 禁止第一行必须是标题
|
|
"MD046": {"style": "fenced"}, // code-fence-style 代码块使用围栏样式
|
|
"MD048": {"style": "backtick"}, // Code fence style 只允许用反引号 ``` 作为围栏
|
|
"MD052": false // reference-links-image: 禁止引用链接和图片
|
|
// "no-space-after-emphasis": {"severity": "error"}
|
|
},
|
|
"customRules": ["./custom-rules/space-after-punctuation-in-emphasis.js"],
|
|
"ignores": ["node_modules/**", "dist/**"] // 忽略路径
|
|
// Fix any fixable errors
|
|
// "fix": true
|
|
} |