Tables for types and scopes.
| Type | Description | Example Commit Message |
|---|---|---|
| feat | A new feature for the user | feat: add user login functionality |
| fix | A bug fix for the user | fix: correct login validation |
| docs | Documentation only changes | docs: update API usage in README |
| style | Changes that do not affect the meaning of the code | style: format code with Prettier |
| refactor | A code change that neither fixes a bug nor adds a feature | refactor: simplify authentication logic |
| perf | A code change that improves performance | perf: optimize image loading |
| test | Adding missing tests or correcting existing tests | test: add unit tests for login component |
| build | Changes that affect the build system or external dependencies | build: update dependency versions |
| ci | Changes to CI configuration files and scripts | ci: add deployment script |
| chore | Other changes that don't modify src or test files | chore: update package.json metadata |
| revert | Reverts a previous commit | revert: revert commit abc1234 |
| Scope | Description | Example Commit Message |
|---|---|---|
| core | Related to the core functionality or logic | feat(core): add new caching mechanism |
| ui | User interface changes | fix(ui): adjust button size on mobile |
| backend | Backend-related changes | refactor(backend): optimize database queries |
| api | Changes to the API | feat(api): add new endpoints for user management |
| auth | Authentication and authorization related changes | fix(auth): update token expiration logic |
| config | Configuration files or settings changes | chore(config): update webpack configuration |
| deps | Dependency-related changes | build(deps): update lodash to latest version |
| test | Test-related changes | test(test): add integration tests for payment module |
| docs | Documentation updates | docs(docs): add API usage example |
| localization | Localization or internationalization changes | feat(localization): add Finnish translations |
| ci | Continuous Integration changes | ci(ci): update Travis CI configuration |
| security | Security-related changes | fix(security): address XSS vulnerability |