Last active
July 29, 2023 04:59
-
-
Save josenaldo/981ad1b8c4b667bbd840f266e9c4ea72 to your computer and use it in GitHub Desktop.
Commit Message Editor with Lasers (Emojis)!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"commit-message-editor.dynamicTemplate": [ | |
"{emoji} {type}{scope}: {description}", | |
"", | |
"{body}", | |
"", | |
"{breaking_change}{footer}" | |
], | |
"commit-message-editor.tokens": [ | |
{ | |
"label": "Emoji", | |
"name": "emoji", | |
"type": "enum", | |
"options": [ | |
{ | |
"description": "Commit inicial", | |
"label": "🎉 Commit inicial", | |
"value": ":tada: " | |
}, | |
{ | |
"description": "Tag de versão", | |
"label": "🔖 Tag de versão", | |
"value": ":bookmark:" | |
}, | |
{ | |
"description": "Novo recurso", | |
"label": "✨ Novo recurso", | |
"value": ":sparkles:" | |
}, | |
{ | |
"description": "Lista de ideias (tasks)", | |
"label": "🔜 Lista de ideias (tasks)", | |
"value": ":soon:" | |
}, | |
{ | |
"description": "Bugfix", | |
"label": "🐛 Bugfix", | |
"value": ":bug:" | |
}, | |
{ | |
"description": "Documentação", | |
"label": "📚 Documentação", | |
"value": ":books:" | |
}, | |
{ | |
"description": "Testes", | |
"label": "🧪 Testes", | |
"value": ":test_tube:" | |
}, | |
{ | |
"description": "Adicionando um teste", | |
"label": "✅ Adicionando um teste", | |
"value": ":white_check_mark:" | |
}, | |
{ | |
"description": "Teste de aprovação", | |
"label": "✔️ Teste de aprovação", | |
"value": ":heavy_check_mark:" | |
}, | |
{ | |
"description": "Acessibilidade", | |
"label": "♿ Acessibilidade", | |
"value": ":wheelchair:" | |
}, | |
{ | |
"description": "Texto", | |
"label": "📝 Texto", | |
"value": ":pencil:" | |
}, | |
{ | |
"description": "Package.json em JS", | |
"label": "📦 Package.json em JS", | |
"value": ":package:" | |
}, | |
{ | |
"description": "Em progresso", | |
"label": "🚧 Em progresso", | |
"value": ":construction:" | |
}, | |
{ | |
"description": "Arquivos de configuração", | |
"label": "🔧 Arquivos de configuração", | |
"value": ":wrench:" | |
}, | |
{ | |
"description": "Removendo uma dependência", | |
"label": "➖ Removendo uma dependência", | |
"value": ":heavy_minus_sign:" | |
}, | |
{ | |
"description": "Adicionando uma dependência", | |
"label": "➕ Adicionando uma dependência", | |
"value": ":heavy_plus_sign:" | |
}, | |
{ | |
"description": "Revertendo mudanças", | |
"label": "💥 Revertendo mudanças", | |
"value": ":boom:" | |
}, | |
{ | |
"description": "Alterações de revisão de código", | |
"label": "👌 Alterações de revisão de código", | |
"value": ":ok_hand:" | |
}, | |
{ | |
"description": "Refatoração", | |
"label": "♻️ Refatoração", | |
"value": ":recycle:" | |
}, | |
{ | |
"description": "Mover/Renomear", | |
"label": "🚚 Mover/Renomear", | |
"value": ":truck:" | |
} | |
], | |
"description": "Type of changes" | |
}, | |
{ | |
"label": "Type", | |
"name": "type", | |
"type": "enum", | |
"options": [ | |
{ | |
"label": "---", | |
"value": "" | |
}, | |
{ | |
"label": "build", | |
"description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)" | |
}, | |
{ | |
"label": "chore", | |
"description": "Updating grunt tasks etc; no production code change" | |
}, | |
{ | |
"label": "ci", | |
"description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)" | |
}, | |
{ | |
"label": "docs", | |
"description": "Documentation only changes" | |
}, | |
{ | |
"label": "feat", | |
"description": "A new feature" | |
}, | |
{ | |
"label": "fix", | |
"description": "A bug fix" | |
}, | |
{ | |
"label": "perf", | |
"description": "A code change that improves performance" | |
}, | |
{ | |
"label": "refactor", | |
"description": "A code change that neither fixes a bug nor adds a feature" | |
}, | |
{ | |
"label": "revert", | |
"description": "Revert a previous commit" | |
}, | |
{ | |
"label": "style", | |
"description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)" | |
}, | |
{ | |
"label": "test", | |
"description": "Adding missing tests or correcting existing tests" | |
} | |
], | |
"description": "Type of changes" | |
}, | |
{ | |
"label": "Scope", | |
"name": "scope", | |
"description": "A scope may be provided to a commit’s type, to provide additional contextual information and is contained within parenthesis, e.g., \"feat(parser): add ability to parse arrays\".", | |
"type": "text", | |
"multiline": false, | |
"prefix": "(", | |
"suffix": ")" | |
}, | |
{ | |
"label": "Short description", | |
"name": "description", | |
"description": "Short description in the subject line.", | |
"type": "text", | |
"multiline": false | |
}, | |
{ | |
"label": "Body", | |
"name": "body", | |
"description": "Optional body", | |
"type": "text", | |
"multiline": true, | |
"lines": 5, | |
"maxLines": 10 | |
}, | |
{ | |
"label": "Breaking change", | |
"name": "breaking_change", | |
"type": "boolean", | |
"value": "BREAKING CHANGE: ", | |
"default": false | |
}, | |
{ | |
"label": "Footer", | |
"name": "footer", | |
"description": "Optional footer", | |
"type": "text", | |
"multiline": true | |
} | |
], | |
"commit-message-editor.staticTemplate": [ | |
":sparkles: feat: Short description", | |
"", | |
"Message body", | |
"" | |
], | |
"commit-message-editor.view.saveAndClose": true, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment