Standardize blog source formatting with Prettier

This commit is contained in:
biss committed 2026-12-01 18:47:17 +08:00
1 parent c14493c00f
commit 7809bf12c7
64 files changed
+2239 -1382

No files matched your search

+6
View File
@@ -3,6 +3,8 @@
"version": "3.1.1",
"private": true,
"scripts": {
"format": "prettier --write \"*.mjs\" \"{public,scripts,src,workers}/**/*.{astro,css,js,mjs,ts}\"",
"format:check": "prettier --check \"*.mjs\" \"{public,scripts,src,workers}/**/*.{astro,css,js,mjs,ts}\"",
"prebuild": "node scripts/generate-abbrlinks.mjs",
"build": "astro build",
"postbuild": "node scripts/version-service-worker.mjs",
@@ -19,5 +21,9 @@
"rehype-mathjax": "^7.1.0",
"remark-math": "^6.0.0",
"typesense": "^3.3.0"
},
"devDependencies": {
"prettier": "3.10.1",
"prettier-plugin-astro": "0.14.1"
}
}