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 Matt Morley
parent 4c9b36aa5c
commit 3c017ab961
3 changed files with 21 additions and 6 deletions

View File

@@ -9,7 +9,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",