I am not sure, but from my understanding you have to always add emoji in commit.
I created gist that this solving this issue.
example:
then validate this, then if it’s fine it adds emoji so result is:
🐛 fix(scope): some message"
this is my gist if someone want also it (it's hook under .husky/commit-msg)
https://gist.github.com/olenderhub/053faaf522e83783456f3d575e8fe572
I used there
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"husky": "^8.0.1"
I am not sure, but from my understanding you have to always add emoji in commit.
I created gist that this solving this issue.
example:
then validate this, then if it’s fine it adds emoji so result is:
this is my gist if someone want also it (it's hook under .husky/commit-msg)
https://gist.github.com/olenderhub/053faaf522e83783456f3d575e8fe572
I used there