From fca5c0f5bc874cf9d4b29429507567d87c0c73b8 Mon Sep 17 00:00:00 2001 From: atheeq-rhxn Date: Tue, 8 Jul 2025 14:42:05 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20emoji=20prefixes=20to?= =?UTF-8?q?=20commit=20types=20and=20add=20style=20type,=20referenced=20fr?= =?UTF-8?q?om:=20https://gist.github.com/alpteo/e93d754e5e09907c6362c4230f?= =?UTF-8?q?b66f87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index a23361c..518955c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,15 +18,16 @@ fn main() { // Otherwise, prompt for a message let commit_type_options = vec![ - CommitType::new("build", "build system and dependencies"), - CommitType::new("ci", "continuous integration"), - CommitType::new("chore", "misc/maintenance not related to core code"), - CommitType::new("docs", "documentation changes (e.g., README.md, comments)"), - CommitType::new("feat", "new feature or significant enhancement"), - CommitType::new("fix", "bug fix or error correction"), - CommitType::new("perf", "performance improvement"), - CommitType::new("refactor", "code restructuring or cleanup"), - CommitType::new("test", "add or update tests"), + CommitType::new("👷 build", "build system and dependencies"), + CommitType::new("💚 ci", "continuous integration"), + CommitType::new("🔧 chore", "misc/maintenance not related to core code"), + CommitType::new("📝 docs", "documentation changes (e.g., README.md, comments)"), + CommitType::new("✨ feat", "new feature or significant enhancement"), + CommitType::new("🐛 fix", "bug fix or error correction"), + CommitType::new("⚡ perf", "performance improvement"), + CommitType::new("♻️ refactor", "code restructuring or cleanup"), + CommitType::new("🎨 style", "formatting, white-space, etc. (no code change)"), + CommitType::new("✅ test", "add or update tests"), ]; // Format the commit type options for display