chore: better git hooks
This commit is contained in:
parent
4495210f71
commit
81a7a6de2d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1 @@
|
||||||
export PATH="$PATH:$(pnpm bin)"
|
pnpm dlx lint-staged
|
||||||
pnpm biome lint
|
|
||||||
pnpm biome format
|
|
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue