Skip to content

Commit 3efc9eb

Browse files
authoredMar 4, 2025
chore: add prettier to pre-commit hook (#1118)
1 parent 539130a commit 3efc9eb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎lefthook.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
pre-push:
1+
pre-commit:
22
parallel: true
33
commands:
44
format:
55
glob: '*.{js,ts,md,yml}'
6-
run: npm run fmt:check
6+
run: npm run fmt && git add {staged_files}
7+
pre-push:
8+
parallel: true
9+
commands:
710
license:
811
run: npm run test:license
912
size:

0 commit comments

Comments
 (0)