Skip to content

adding a unicode emoji #187

@jamiehaywood

Description

@jamiehaywood

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions