Skip to content

Commit

Permalink
feat: automatically git add linted staged files in lefthook
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMikeladze committed Aug 4, 2024
1 parent 80691eb commit 93a0278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pre-commit:
parallel: true
commands:
lint:
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched
run: pnpm biome check --write --unsafe --staged --no-errors-on-unmatched && git add -u
types:
run: pnpm tsc
test:
Expand Down

0 comments on commit 93a0278

Please sign in to comment.