mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-13 08:31:12 +08:00
Run tsc on pre-commit to ensure no types got broken
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged-offline"
|
||||
"pre-commit": "yarn workspace @devhub/desktop compile && lint-staged-offline"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
Reference in New Issue
Block a user