Skip to content

Commit 93a0278

Browse files
committed
feat: automatically git add linted staged files in lefthook
1 parent 80691eb commit 93a0278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pre-commit:
22
parallel: true
33
commands:
44
lint:
5-
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched
5+
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched && git add -u
66
types:
77
run: pnpm tsc
88
test:

0 commit comments

Comments
 (0)