feat(prettier): support astro and fix mdx formatting

- Added prettier-plugin-astro as dev dependency
- Removed incorrect top-level "typescript" parser config
    - This causes the MDX files be parsed as typescript and error out.

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-09 16:28:06 +08:00
parent 92eb1d5616
commit 8bcc73bab5
3 changed files with 84 additions and 2 deletions

View File

@@ -15,5 +15,9 @@
"astro": "^5.6.1",
"sharp": "^0.34.2"
},
"devDependencies": {
"prettier": "^3.7.4",
"prettier-plugin-astro": "^0.14.1"
},
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
}
}