We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently there is a wrench emoji:
gitmoji-commit-workflow/packages/changelog/src/transformer/typeDisplayName.ts
Line 36 in c986d43
But gitmoji uses this symbol for adding ci 👷
The text was updated successfully, but these errors were encountered:
Also stumbled across this. Fixed by using this: npm install --save-dev emojilib@2.0.2
npm install --save-dev emojilib@2.0.2
Sorry, something went wrong.
Encountered more issues with this package. Ended up creating my own Gitmoji commitlint plugin - it's super simple.
Run npm i -D gitmojis, create commitlint.config.js, paste code below & you're done!
npm i -D gitmojis
commitlint.config.js
const { gitmojis } = require('gitmojis'); module.exports = { rules: { 'gitmoji-rule': [2, 'always'], }, plugins: [{ rules: { 'gitmoji-rule': ({ header }) => { const commit = header.trim(); const [commitEmoji, ...rest] = commit.split(' '); const commitMessage = rest.join(' ').trim(); if (!commitMessage) { return [false, 'Commit message is required.']; } if (!commitEmoji) { return [false, 'Commit emoji is required.']; } const gitmoji = gitmojis.find((_gitmoji) => _gitmoji.emoji === commitEmoji); if (!gitmoji) { return [false, 'Valid Gitmoji is required.']; } if (commitMessage.length <= 6) { return [false, 'Commit message must be over 6 characters']; } return [true]; }, }, }], };
No branches or pull requests
Currently there is a wrench emoji:
gitmoji-commit-workflow/packages/changelog/src/transformer/typeDisplayName.ts
Line 36 in c986d43
But gitmoji uses this symbol for adding ci 👷
The text was updated successfully, but these errors were encountered: