Commit
We follow the Conventional Commits standard to keep our commit history clear and consistent. You can read a quick summary of the rules here.
Commit Format
Section titled “Commit Format”Every time you make a commit, a pre-commit hook (using Husky and Commitlint) will run automatically.
If your commit message doesn’t follow the required format:
- You’ll get an error message
- The commit will be aborted and stashed
To avoid this, just follow the correct commit message format. It helps keep our project history clean and easy to understand.
Correct commit
feat: allow provided config object to extend other configs (#123)
Incorrect commit
send an email to the customer when a product is shipped
Available Prefixes
All available commit prefixes (e.g., feat
, fix
, docs
, refactor
) are defined in commitlint.config.js
(root folder)