From 201221ed9b4922da2509acc60312ab00859c7072 Mon Sep 17 00:00:00 2001 From: Dhruvdutt Jadhav Date: Thu, 27 Sep 2018 11:41:19 +0530 Subject: [PATCH] Update README.md (#361) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 815bdeeb2..5ad8e9f55 100644 --- a/README.md +++ b/README.md @@ -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" + } + } }