Skip to content

Commit

Permalink
chore: add prettier to pre-commit hook (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
akp111 authored Mar 4, 2025
1 parent 539130a commit 3efc9eb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
pre-push:
pre-commit:
parallel: true
commands:
format:
glob: '*.{js,ts,md,yml}'
run: npm run fmt:check
run: npm run fmt && git add {staged_files}
pre-push:
parallel: true
commands:
license:
run: npm run test:license
size:
Expand Down

0 comments on commit 3efc9eb

Please sign in to comment.