Thank you for contributing to our project! To maintain a high standard of code quality and ensure smooth collaboration, please follow these instructions carefully.
- Open a New Branch for the Issue
- Always create a new branch while you are on the
dev
branch. - Make sure the branch name includes the issue topic and number.
- Do NOT put the issue number at the beginning of the branch name.
- Example:
feature/issue-123-improve-login
NOT: #34-new-login-button
- Always create a new branch while you are on the
-
Review the Original Issue
- Ensure you have completed all tasks and met all requirements specified in the issue.
-
Clean Your Code
- Remove unnecessary comments and spaces.
- Ensure logical positioning and proper naming conventions are followed.
-
Add Tests and Error Handling
- Make sure you have added testing for the main features and proper error handling.
-
Verify Code Stability
- Stop the running code and restart to ensure there are no errors and everything runs smoothly.
-
Sync with Dev Branch
- Pull from the
dev
branch. - Fix any merge conflicts and commit your fixes.
- run all the unit tests and make sure all tests pass.
- Pull from the
- PRs should be opened from your branch to the
dev
branch, not themain
branch.
By following these guidelines, you help ensure that our codebase remains clean, stable, and easy to maintain. Thank you for your cooperation and happy coding!