Skip to content

Commit

Permalink
faster precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Apr 24, 2024
1 parent bdd7fe7 commit a898418
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# I personally hate pre-commit hooks but we *NEED* consistency formatting to deal with merge conflicts.

pnpm format
# We don't use `pnpm format` because it's slower
node_modules/.bin/biome format --write .

0 comments on commit a898418

Please sign in to comment.