Skip to content

Commit 42be3c0

Browse files
committed
bun install lefthook, fix cspell exiting non-zero, and move some dependencies to devDependencies
1 parent 412b1ce commit 42be3c0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

bun.lockb

4.14 KB
Binary file not shown.

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ pre-commit:
1313
run: if [ "$(git branch --show-current)" == "main" ]; then echo "Cannot make commit on main! aborting..."; exit 1; fi
1414
cspell:
1515
glob: "*"
16-
run: bunx cspell --quiet -- {staged_files}
16+
run: bunx cspell --quiet .

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
"license": "ISC",
1212
"devDependencies": {
1313
"@biomejs/biome": "^1.9.1",
14-
"typescript": "^5.6.2"
14+
"@types/bun": "^1.1.10",
15+
"lefthook": "^1.8.2",
16+
"typescript": "^5.6.2",
17+
"cspell": "^8.14.4"
1518
},
1619
"dependencies": {
17-
"@types/bun": "^1.1.10",
18-
"cspell": "^8.14.4",
1920
"zod": "^3.23.8"
2021
},
21-
"trustedDependencies": ["@biomejs/biome"]
22+
"trustedDependencies": ["@biomejs/biome", "lefthook"]
2223
}

0 commit comments

Comments
 (0)