๐Ÿ” Commit Title Validator

Validasi format commit message sesuai standar perusahaan

Validasi Commit Title

Format: <tipe>: <ringkasan singkat> (Taiga #<NamaProject>-<NomorTicket>)

Ekstraksi Referensi

Format Referensi:
โ€ข Ticket Link: [(Taiga #PROJECT-123)] (https://...)
โ€ข Documentation Link: [Nama] (https://...)
โ€ข Testing Link: [Nama] (https://...)

Contoh Commit Title

โœ… Valid Examples

Feature - Login User
feat: menambahkan fitur login user (Taiga #DATB-10353)
Bug Fix - Dashboard
fix: memperbaiki bug pada dashboard analytics (Taiga #PROJ-123)
Refactor - Auth Module
refactor: restructure authentication module (Taiga #AUTH-456)

โŒ Invalid Examples

Missing Colon
feat menambahkan login (Taiga #DATB-10353)
Wrong Type
feature: add login (Taiga #DATB-10353)
Summary Too Short
feat: add (Taiga #DATB-10353)
Lowercase Project
feat: add login (Taiga #datb-10353)

Tipe Commit yang Diperbolehkan

Tipe Deskripsi Contoh
feat Fitur baru feat: add login (Taiga #DATB-001)
fix Bug fix fix: resolve dashboard crash (Taiga #PROJ-002)
refactor Refactoring code refactor: improve auth logic (Taiga #AUTH-003)
docs Update dokumentasi docs: update API docs (Taiga #DOC-004)
style Formatting code style: format with prettier (Taiga #STY-005)
test Menambahkan tests test: add unit tests (Taiga #TEST-006)
chore Maintenance tasks chore: update dependencies (Taiga #CHR-007)
perf Performance improvement perf: optimize queries (Taiga #PERF-008)
ci CI/CD changes ci: update workflow (Taiga #CI-009)
build Build system changes build: update webpack (Taiga #BLD-010)
revert Revert previous commit revert: revert feature X (Taiga #REV-011)