Conventional commits and angular projects

In order to have conventional commits avaiable, we need to install:

# Install commitlint cli and conventional config
yarn add -D @commitlint/{config-conventional,cli, config-angular}
# Configure commitlint to use conventional config
echo "module.exports = {extends: ['@commitlint/config-conventional', '@commitlint/config-angular']}" > commitlint.config.js

and to verify we have all of our commits applying this rules, we add the following in our package.json:

  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"

Happy coding!