-
Notifications
You must be signed in to change notification settings - Fork 0
Name Conventions
Xavier Guertin edited this page Oct 31, 2024
·
16 revisions
We will use naming conventions as provided in the style guide of Angular.
Therefore, we will use PascalCase for components, and models. (e.g., UserProfileComponent, FireMap),
camelCase for services and variables, (e.g., mapService),
and kebab-case for files and folders names (e.g., user-profile.component.ts)
We will use naming conventions as provided in the code conventions of Java.
<GitHub-Task-ID>-<type>([optional scope]): <description>
-
<type>: Describes the purpose of a commit. Examples:-
feat/for new feature -
fix/: for bug fix -
chore/: for maintenance -
hotfix/: for urgent fixes -
test/: for test changes
-
#37 - feat(docker): Setting Up Docker
<GitHub-Task-ID> - Clear description of the changes.
#1 - Added OAuth login support in Login.tsx
-
<GitHub-Task-ID> - <short-description> -
<short-description>: A few keywords describing the branch's purpose, separated by dashes.
Example:
#12 - navbar-alignment
Here is a template to maintain consistency through Pull Requests:
### Summary
Provide a short description of what changes are introduced.
### Changes Made
- Change 1
- Change 2
- ...
### Testing Instructions
Steps to verify that the changes work as expected.
### Screenshots (if applicable)
Attach screenshots demonstrating the changes.
### Additional Notes
Anything else relevant for the reviewers to know.
Please refer to the following PR.