chore: husky pre-commit hook met lint-staged

This commit is contained in:
Janpeter Visser 2026-04-24 14:14:25 +02:00
parent ecc7a10679
commit b2e84d043e
3 changed files with 352 additions and 1 deletions

View file

@ -8,7 +8,8 @@
"start": "next start",
"lint": "eslint",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"prepare": "husky"
},
"dependencies": {
"@base-ui/react": "^1.4.1",
@ -43,6 +44,9 @@
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"lint-staged": {
"*.{ts,tsx,mjs}": "eslint --fix"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/bcryptjs": "^2.4.6",
@ -54,6 +58,8 @@
"@vitest/coverage-v8": "^4.1.5",
"eslint": "^9",
"eslint-config-next": "16.2.4",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5",