docs: add Angular commit message guidelines to CLAUDE.md

This commit is contained in:
Johannes Millan 2026-01-10 12:57:32 +01:00
parent 9b7b01d24a
commit 7179e3d6f8

View file

@ -104,6 +104,17 @@ The app uses NgRx (Redux pattern) for state management. Key state slices:
5. **Electron Context**: Check `IS_ELECTRON` before using Electron-specific features.
6. **Privacy**: No analytics or tracking. User data stays local unless explicitly synced.
## Git Commit Messages
Use Angular commit message format: `type(scope): description`
- **Types**: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`
- **Scope**: Optional, e.g., `tasks`, `projects`, `sync`
- **Examples**:
- `feat(tasks): add recurring task support`
- `fix(sync): handle network timeout gracefully`
- `refactor(projects): simplify project selector logic`
## 🚫 Anti-Patterns → Do This Instead
| Avoid | Do Instead |