Skip to content

Commit 5198af8

Browse files
authored
merge: Run "style" and "test" scripts automatically when committing new changes (#918)
* feat: add style and run scripts on pre-commit hooks * Update package-lock.json
1 parent 35ba618 commit 5198af8

File tree

3 files changed

+11016
-8
lines changed

3 files changed

+11016
-8
lines changed

.husky/pre-commit

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run style
5+
npm run test

0 commit comments

Comments
 (0)