Company-wide [Commitlint](https://commitlint.js.org/) config for using conventional commits, plus other commit lint rules we want to enforce.
npm install @xip-online-applications/commitlint-configCompany-wide Commitlint config for using conventional commits, plus other commit lint rules we want to enforce.
``sh`
npm i -D husky @xip-online-applications/commitlint-config
Add husky install to your prepare script in package.json so that husky is installed when you run npm/yarn/pnpm install.
`jsonc`
"scripts": {
"prepare": "husky install",
// ...
}
`sh
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'
``