chore: better git hooks

This commit is contained in:
Samuel 2024-12-18 17:58:37 +01:00
parent 7cfec72d53
commit ae23936dc5
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1 @@
export PATH="$PATH:$(pnpm bin)" pnpm dlx lint-staged
pnpm biome lint
pnpm biome format

View file

@ -51,5 +51,11 @@
"sql.js": "^1.12.0", "sql.js": "^1.12.0",
"tailwind-merge": "^2.5.5", "tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7" "tailwindcss-animate": "^1.0.7"
},
"lint-staged": {
"*.{ts,tsx}": [
"biome lint",
"biome format"
]
} }
} }