generated from UoaWDCC/react-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Code Requirements
Kai Hirafune edited this page May 1, 2024
·
10 revisions
- Branches should follow the template
<Ticket-Number>/<Type of Branch>/<Brief-Description>
- Branches should follow PascalCase (Every word is capitalized)
- Branches cannot have spaces between words so use
/
and-
for branch descriptions (Look at examples of branch naming if confused)
- feat:
- Use this prefix when introducing a new feature or functionality to the project
- Example:
UADS-18/feat/About-Page
- fix:
- Use this prefix when addressing a bug or issue in the codebase.
- Example:
UADS-31/fix/Fix-Authentication-Issue
- docs:
- Use this prefix when making changes or additions to documentation, such as README files or code comments.
- Example:
UADS-2/docs/Update-README
- style:
- Use this prefix when making cosmetic changes to the codebase such as formatting, indentation or anything CSS related
- Example:
UADS-58/stlye/Format-Code
- refactor:
- Use this prefix when restructuring or optimizing existing code without changing its external behavioral such as renaming variables
- Example:
UADS-98/refactor/Simplify-Authentication-Logic
- test:
- Use this prefix when adding, modifying, or removing tests for the codebase.
- Example:
UADS-45/test/Add-Unit-Tests
- chore:
- Use this prefix for miscellaneous tasks or changes that do not fit into any other category, such as updating dependencies or configuring build tools.
- Example:
UADS-115/chore/Update-Package-Dependencies
Commits should follow the template <Ticket-Number> <Type of Commit>: <Brief-Description>
and they should be a maximum of 50 characters.
- feat:
- Use this prefix when introducing a new feature or functionality to the project
- Example:
UADS-18 feat: Implemented login functionality
- fix:
- Use this prefix when addressing a bug or issue in the codebase.
- Example:
UADS-31 fix: Fixed login functionality
- docs:
- Use this prefix when making changes or additions to documentation, such as README files or code comments.
- Example:
UADS-2 docs: Updated README file
- style:
- Use this prefix when making cosmetic changes to the codebase such as formatting, indentation or anything CSS related
- Example:
UADS-58 stlye: Formatted code in about page
- refactor:
- Use this prefix when restructuring or optimizing existing code without changing its external behavioral such as renaming variables
- Example:
UADS-98 refactor: Simplified the authentication logic
- test:
- Use this prefix when adding, modifying, or removing tests for the codebase.
- Example:
UADS-45 test: Added unit tests for about page
- chore:
- Use this prefix for miscellaneous tasks or changes that do not fit into any other category, such as updating dependencies or configuring build tools.
- Example:
UADS-115 chore: Updateed package dependencies for backend
- Branches
- Components
- Controllers
- Models
- Pages
- Interfaces
- Variables
- Parameters
- Functions
- Routes
- Images
- Global Constants
- Enums