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:
1 parent
bcb8ae9281
commit
e8dfbde7bb
4 files changed
+889
-390
No files matched your search
@@ -0,0 +1 @@
|
||||
_
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
||||
npx lint-staged
|
||||
Reference in new issue
Block a user