Skip to content

Workaround of adding emoji in commits #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
olenderhub opened this issue Sep 27, 2022 · 0 comments
Open

Workaround of adding emoji in commits #1

olenderhub opened this issue Sep 27, 2022 · 0 comments

Comments

@olenderhub
Copy link

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:

fix(scope): some message

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"
@olenderhub olenderhub changed the title Workaround Workaround of adding emoji in commits Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant