feat: add Prettier with go-template and toml plugins, format all files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 13:18:05 +02:00
parent b78bc26322
commit 436223913e
36 changed files with 1765 additions and 1178 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"plugins": ["prettier-plugin-go-template", "prettier-plugin-toml"],
"overrides": [
{
"files": ["layouts/**/*.html", "themes/**/*.html"],
"options": {
"parser": "go-template",
"goTemplateBracketSpacing": true,
"printWidth": 120
}
},
{
"files": "*.toml",
"options": {
"parser": "toml"
}
},
{
"files": "*.css",
"options": {
"printWidth": 100,
"singleQuote": false
}
},
{
"files": "*.md",
"options": {
"proseWrap": "preserve"
}
}
]
}