⚙ Setting | ℹ️ How To Use | 🤝 Contribution | 📝 Licence
Customized commitizen adapter in pt-BR used by Zaal's development team in their projects.
yarn add @commitlint/config-conventional @commitlint/cli -D
# or
npm install --save-dev @commitlint/config-conventional @commitlint/cli
yarn add commitizen -D
# or
npm install --save-dev commitizen
module.exports = {
extends: ['@commitlint/config-conventional']
}
yarn add husky -D
# or
npm install --save-dev husky
yarn commitizen init zaal-cz --yarn --dev --exact
# or
npx commitizen init zaal-cz --save-dev --save-exact
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
Now you just type git commit
, you will see this:
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feat
; - Commit your changes:
git commit -m '✨ My Feat'
; - Push to your branch:
git push origin my-feat
.
After the merge of your pull request is done, you can delete your branch.
This project is under the MIT license. See the LICENSE file for more details.
Developed with ♥ by Zaal Tecnologia