mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-06-11 01:14:46 +02:00
chore: add conventional commits rules for standardized commit messages
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
description: Use Conventional Commits; keep subject under 50 characters.
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Conventional commits
|
||||
|
||||
When writing git commit messages:
|
||||
|
||||
- Use Conventional Commits: `<type>(<scope>): <subject>` or `<type>: <subject>`.
|
||||
- Allowed types: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`, `perf`, `build`, `ci`, `revert`.
|
||||
- Keep the subject line under 50 characters (including type/scope prefix).
|
||||
- Use imperative mood and lowercase subject text.
|
||||
|
||||
Examples:
|
||||
|
||||
- `feat(flasher): add retry after connect failure`
|
||||
- `fix(repo): handle missing branch metadata`
|
||||
Reference in New Issue
Block a user