mirror of
https://github.com/bahayonghang/drawio-skills.git
synced 2026-09-14 14:31:34 +08:00
chore(repo): [AI] 🔧 scope .prettierrc so markdown quoting stays untouched
singleQuote 会把 markdown 的 YAML frontmatter(如 SKILL.md 的 version/description) 从双引号翻成单引号,与仓库已提交的 markdown 风格冲突。新增 *.md override 关闭 singleQuote, 让 prettier 真正「只作用于 JS/TS、不改 markdown」,今后编辑 .md 不再被翻引号。 Tested: npx prettier skills/drawio/SKILL.md(与已提交版本一致,无改动) Agent-Task: 实施 OPTIMIZATION_PLAN.md Agent-Model: claude-opus-4-8 Generated-By: agent Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+9
-1
@@ -2,5 +2,13 @@
|
||||
"singleQuote": true,
|
||||
"semi": false,
|
||||
"printWidth": 120,
|
||||
"trailingComma": "none"
|
||||
"trailingComma": "none",
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.md",
|
||||
"options": {
|
||||
"singleQuote": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user