From 877d8fc68af12d092ed5405e359d7c9155d2d1fe Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 4 Aug 2021 08:57:42 +0530 Subject: chore: incorporate commitizen as a git pre-commit hook --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 1179c3bbe..ddb1f04be 100644 --- a/package.json +++ b/package.json @@ -163,6 +163,7 @@ "@typescript-eslint/parser": "4.28.5", "all-contributors-cli": "6.20.0", "babel-plugin-react-intl": "3.5.1", + "commitizen": "4.2.4", "conventional-changelog-cli": "2.1.1", "cross-env": "7.0.3", "cz-conventional-changelog": "3.3.0", @@ -210,7 +211,16 @@ }, "config": { "commitizen": { - "path": "./node_modules/cz-conventional-changelog" + "path": "./node_modules/cz-conventional-changelog", + "disableScopeLowerCase": false, + "disableSubjectLowerCase": false, + "maxHeaderWidth": 100, + "maxLineWidth": 100, + "defaultType": "chore", + "defaultScope": "", + "defaultSubject": "", + "defaultBody": "", + "defaultIssues": "" } }, "browserslist": [ -- cgit v1.2.3-54-g00ecf