Setup kudos to this guide Install commitlint cli and conventional config npm i -D @commitlint/config-conventional @commitlint/cli