Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

Commit 451ff7c

Browse files
committed
add tslint to pre-push hook
1 parent c447ac9 commit 451ff7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
},
4040
"husky": {
4141
"hooks": {
42-
"pre-commit": "lint-staged"
42+
"pre-commit": "lint-staged",
43+
"pre-push": "npm run tslint"
4344
}
4445
},
4546
"keywords": [

0 commit comments

Comments
 (0)