1.0.7 • Published 3 years ago
@devpulsion/commitlint-config v1.0.7
@devpulsion/commitlint-config
Commitlint configuration
Usage
Install @commitlint/cli and the current config in your js project:
yarn add @commitlint/cli @devpulsion/commitlint-config
Then if using husky, add the commitlint.config.js
file in your project root with
module.exports = {
extends: ['@devpulsion/commitlint-config']
}
After that, you can create a .huskyrc file or add to your package.json the following code:
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
More info
Please refer to commitlint doc