Skip to content

Commit b7eabdd

Browse files
committed
chore(config): 更新markdownlint配置以排除技能文件并添加代码块语言规则
- 在exclude列表中添加SKILL.md文件,因为技能文件不需要校验 - 添加MD040规则到disable列表,允许无语言标识的代码块, 因为技能等相关文件中有大量不需要指定语言的代码块
1 parent e0624ae commit b7eabdd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.rumdl.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ exclude = [
77
"node_modules",
88
"dist",
99
"bin",
10+
# 技能不需要校验
11+
"SKILL.md"
1012
]
1113
disable = [
1214
"MD013", # line-length - 行宽限制过于严格
1315
"MD033", # no-inline-html - HTML 标签有用,保留
1416
"MD034", # no-bare-urls - 裸链接有时更简洁
1517
"MD036", # emphasis-as-heading - .claude/commands 等 AI 工具配置中大量使用强调作为标题
18+
"MD040", # fenced-code-language - 允许无语言的代码块,skill等很多都不需要语言
1619
"MD041", # first-line-heading - 首行不强制为标题
1720
"MD051", # no-emphasis-as-heading - 允许强调符号作为标题
1821
"MD057", # no-relative-links-missing - 相对链接指向不存在文件,影响面太大

0 commit comments

Comments
 (0)