From 0873005ca6af248caaaf9180b19ca2426b61342e Mon Sep 17 00:00:00 2001 From: Jasper Vaneessen Date: Mon, 2 May 2022 13:33:58 +0200 Subject: [PATCH] chore: add commit-msg hook --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 63935d288..a26b15368 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,8 @@ }, "husky": { "hooks": { - "pre-commit": "npm run build && npm run lint && npm run test:unit && npm run test:integration" + "pre-commit": "npm run build && npm run lint && npm run test:unit && npm run test:integration", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "files": [