commit 09bda6cc905012f1bced1dd1e0f90a6a93b5b34e
parent e929c4b95f278037f41ca91722f2871e6483d93a
Author: Damian Myrda <damian@prime8.dev>
Date: Fri, 23 Jan 2026 13:24:22 -0600
refactor: replace husky with pre-commit
Diffstat:
4 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/.husky/pre-commit b/.husky/pre-commit
@@ -1 +0,0 @@
-cd web && bunx lint-staged
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+repos:
+ - repo: local
+ hooks:
+ - id: lint-staged
+ name: lint-staged
+ entry: sh -c 'cd web && bunx lint-staged'
+ language: system
+ pass_filenames: false
diff --git a/bun.lock b/bun.lock
@@ -1,15 +0,0 @@
-{
- "lockfileVersion": 1,
- "configVersion": 1,
- "workspaces": {
- "": {
- "name": "prime8dev-root",
- "devDependencies": {
- "husky": "^9.1.7",
- },
- },
- },
- "packages": {
- "husky": ["husky@9.1.7", "", { "bin": { "husky": "bin.js" } }, "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA=="],
- }
-}
diff --git a/package.json b/package.json
@@ -1,10 +0,0 @@
-{
- "name": "prime8dev-root",
- "private": true,
- "scripts": {
- "prepare": "husky"
- },
- "devDependencies": {
- "husky": "^9.1.7"
- }
-}