added formatting before commit and run tests before push hooks
Signed-off-by: Phred <fearphage@gmail.com>pull/432/head
parent
22b665fc30
commit
fb22f3a947
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
lint-staged
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npm test
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"*.ts": "npm run format-check"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue