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:
李永航
2026-06-03 00:03:43 +08:00
parent 517fbe615a
commit 25aabe2e59
+9 -1
View File
@@ -2,5 +2,13 @@
"singleQuote": true,
"semi": false,
"printWidth": 120,
"trailingComma": "none"
"trailingComma": "none",
"overrides": [
{
"files": "*.md",
"options": {
"singleQuote": false
}
}
]
}