chore: husky pre-commit hook met lint-staged
This commit is contained in:
parent
ecc7a10679
commit
b2e84d043e
3 changed files with 352 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue