Skip to content

Commit

Permalink
Update README.md (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvdutt authored and typicode committed Sep 27, 2018
1 parent 5926ac6 commit 201221e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -50,11 +50,13 @@ If you're upgrading from `0.14`, simply move your hooks to `husky.hooks` field:
```diff
{
"scripts": {
- "precommit": "npm test"
- "precommit": "npm test",
- "commitmsg": "commitlint -E GIT_PARAMS"
},
+ "husky": {
+ "hooks": {
+ "pre-commit": "npm test"
+ "pre-commit": "npm test",
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
+ }
+ }
}
Expand Down

0 comments on commit 201221e

Please sign in to comment.