Skip to content

Instantly share code, notes, and snippets.

@galiazzi
Created February 14, 2019 11:22
Show Gist options
  • Save galiazzi/58ea1317b5238801135410816460853a to your computer and use it in GitHub Desktop.
Save galiazzi/58ea1317b5238801135410816460853a to your computer and use it in GitHub Desktop.
module.exports = {
extends: ['@commitlint/config-conventional']
}
{
"name": "test",
"version": "0.0.1",
"scripts": {
"commit": "git-cz",
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.3.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment