Skip to content
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

adding a unicode emoji #187

Open
jamiehaywood opened this issue Oct 30, 2021 · 0 comments
Open

adding a unicode emoji #187

jamiehaywood opened this issue Oct 30, 2021 · 0 comments

Comments

@jamiehaywood
Copy link

jamiehaywood commented Oct 30, 2021

awesome library!

wanted to change the emoji for test from 🚨 to 🧪 but the docs don't make it entirely clear on how to do that in devmoji.config.js.

This config:

module.exports = {
  types: ["lint"],
  devmoji: [{ code: "test", emoji: "🧪" }],
};

with this command:

echo "test: add middleware tests" | devmoji --format unicode 

yields:

test: :🧪: add middleware tests

Just wondering if there's a way to map normal unicode emojis in the config?

Edit: the GitHub alias is :test_tube: - I wonder whether this is just not added to the source?

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