- npm: Add `pre-commit` for `lint-staged`

master
Brett Zamir 2020-08-05 19:04:48 +08:00
parent f390983dc1
commit 5710a2a885
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@
"post-commit": "run-if-changed", "post-commit": "run-if-changed",
"post-checkout": "run-if-changed", "post-checkout": "run-if-changed",
"post-merge": "run-if-changed", "post-merge": "run-if-changed",
"post-rewrite": "run-if-changed" "post-rewrite": "run-if-changed",
"pre-commit": "lint-staged"
} }
}, },
"repository": { "repository": {