Command Palette

Search for a command to run...

atypical
Presets

Gitmoji

An emoji or :shortcode: intention, alone or in front of another preset.

Usage

Implements Gitmoji.

extends = "npm:@atypical/commit/gitmoji"

Slots

SlotShapeRequired
intentionOne of emoji (symbols) or shortcode (: :), with a gapYes
scope( ), anyNo
separatorsymbol :, tightNo

Examples

HeaderResult
✨ Add a featureValid
:sparkles: Add a featureValid
🐛 (auth): Fix a bugValid
✨: Add a featureValid
:t-rex: Add old codeValid
feat: no intentionInvalid: no intention
✨:bug: both formsInvalid: two forms
:bogus: xInvalid: unknown shortcode
✨(auth): xInvalid: the scope needs the space

Layered on Conventional Commits

extends = ["npm:@atypical/commit/conventional", "npm:@atypical/commit/gitmoji"]
HeaderResult
✨ feat(api): add an endpointValid
🐛 fix(api)!: drop the v1 routesValid
✨ nope: unknown keywordInvalid: unknown keyword
feat(api): no emojiInvalid: no intention

The reverse extends order builds a different grammar; see Merging.

Source

presets/gitmoji.toml

  • Generated by scripts/gitmoji.ts from the gitmoji API.
  • Shortcodes containing characters a delimited slot cannot read are dropped; their emoji are kept.
  • Emoji are listed with the variation selectors the catalogue uses. ⚡️ (U+26A1 U+FE0F) matches; ⚡ (U+26A1) does not.

On this page