style: add pre-commit hook for prettier
All checks were successful
TrafficCue CI / check (push) Successful in 1m0s
TrafficCue CI / build (push) Successful in 46s

This commit is contained in:
Cfp
2025-07-14 15:12:06 +02:00
parent 64806d538e
commit 56372a6df6
3 changed files with 11 additions and 1 deletions

View File

@ -13,6 +13,8 @@
"bits-ui": "^2.7.0",
"clsx": "^2.1.1",
"eslint-config-prettier": "^10.1.5",
"git-format-staged": "^3.1.1",
"husky": "^9.1.7",
"prettier-plugin-svelte": "^3.4.0",
"svelte": "^5.34.7",
"svelte-check": "^4.1.6",
@ -29,7 +31,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
"prepare": "husky"
},
"type": "module",
"dependencies": {