For this, I use commitizen and emoji-cz installed globally. I don't want to taint non-Node.js projects with package.json
, BTW.
npm i -g commitizen emoji-cz
echo '{ "path": "emoji-cz" }' > ~/.czrc
I always thought it is commit + zen
, but it is actually commit + citizen
...
I also find commitlint and traditional git hooks interesting, but I am not ready to try it yet.
Again, no need for package.json
or node_modules
in your projects.
This is an example of the projects.
Top comments (0)