style: add formatter config

This commit is contained in:
ZhenShuo Leo
2025-05-28 06:22:24 +08:00
parent 0b06a64139
commit e785f50575
6 changed files with 112 additions and 2 deletions

14
package-lock.json generated
View File

@@ -17,6 +17,7 @@
"commander": "^14.0.0"
},
"devDependencies": {
"@awmottaz/prettier-plugin-void-html": "^1.8.0",
"@tailwindcss/cli": "^4.1.7",
"@tailwindcss/typography": "^0.5.16",
"chart.js": "^4.4.9",
@@ -77,6 +78,19 @@
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/@awmottaz/prettier-plugin-void-html": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@awmottaz/prettier-plugin-void-html/-/prettier-plugin-void-html-1.8.0.tgz",
"integrity": "sha512-gC1CO6TdjILFBc9UYJHY93RvM76jbNhb8IMiFzNbhyH1aCqvSVVjIhXCEQ9BkLyXGy8gmPfHX3m9BKHnl0edhQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=22.0.0"
},
"peerDependencies": {
"prettier": "3.0.0 - 3.5.x"
}
},
"node_modules/@babel/code-frame": {
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",