carloscuesta/gitmoji

Gitmoji's name vs code for ๐Ÿ’ซ

paduszyk opened this issue ยท 3 comments

Discussion

For the "animation" Gitmoji:

{
  "emoji": "๐Ÿ’ซ",
  "entity": "💫",
  "code": ":dizzy:",
  "description": "Add or update animations and transitions.",
  "name": "animation",
  "semver": "patch"
},

there is an inconsitency in its name and code. For the remaining Gitmojis, the name is simply the code with the underscores replaced by dashes and the leading and trailing colons removed.

Is there any specific reason for which this rule is violated for ๐Ÿ’ซ?

Validations

Hey!

I don't recall any reason for it to be different ๐Ÿ˜….
The name of the emoji should be the same as the code but without the semicolons, so let's change it back to name: dizzy.

Thanks for finding this, do you want to open a Pull-Request?

OK. I will open the PR ASAP. How would you classify that change? I believe the options are: โ™ป๏ธ, ๐Ÿšš.

Anyways, maybe you should consider to discard the name field at all? Since it looks like being deterministic...

OK. I will open the PR ASAP. How would you classify that change? I believe the options are: โ™ป๏ธ, ๐Ÿšš.

โœ๏ธ Also works!

Anyways, maybe you should consider to discard the name field at all? Since it looks like being deterministic...

Not sure, some external dependencies, services might be using that field, for now I would focus on fixing this specific issue and we can reevaluate in the future if the name field makes sense at the JSON level.