Add format script to pre-commit hook (#2146)

* Add format script to pre-commit hook

* build: add husky prepare step

* build: add lint-staged

* build: add lint-staged

Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
Taehyun Hwang
2022-10-07 12:33:54 +02:00
committed by GitHub
co-authored by rickstaa
parent bcb8ae9281
commit e8dfbde7bb
4 changed files with 889 additions and 390 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm test
npx lint-staged