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:
+32
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user