Closed nick-y-ito closed 10 months ago
This PR introduces commitlint and commitizen.
commitlint
commitizen
CONTRIBUTING.md
git commit -m "foo: this will fail" --allow-empty
git commit
How commitizen works:
https://github.com/genesis-tech-tribe/nishiki-frontend/assets/99148565/3801f4e1-eb0d-4770-9766-a18031e8690c
cz-customizable
@kanta1207 @kotaaaa Thank you for your reviews!
Overview
This PR introduces
commitlint
andcommitizen
.Changes
commitlint
, following the official setup instruction.commitizen
, following the official documentCONTRIBUTING.md
because some prefixes were missing.Review points
commitlint
works by executing (expected to fail):commitizen
works by running the regulargit commit
command (See the video below)Screen Captures
How
commitizen
works:https://github.com/genesis-tech-tribe/nishiki-frontend/assets/99148565/3801f4e1-eb0d-4770-9766-a18031e8690c
Note
commitizen
only works in the CLIcz-customizable
commitlint
Assignee Checklist:
Reviewer Checklist: