Check website format in CI (#2454)

Add a command to lint the website to package.json, and update the
workflow. Updates docs for linting as well.

---------

Co-authored-by: Jade Turner <spacey-sooty@proton.me>
This commit is contained in:
Sam Freund
2026-05-02 01:02:05 -05:00
committed by GitHub
parent a5be3d062c
commit dbbe006fd3
3 changed files with 21 additions and 6 deletions

View File

@@ -6,7 +6,9 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite-ssg build",
"preview": "vite preview"
"preview": "vite preview",
"format": "prettier --write src/",
"format-ci": "prettier --check src/"
},
"devDependencies": {
"@toolwind/anchors": "^1.0.10",