Thank you for your interest in contributing to this project! Before you start contributing, make sure you have read the guidelines we have provided.
To understand the cross-project contribution flow, please follow the following step-by-step contribution guide:
-
Fork repository:
If you want to contribute, you must first fork this project. Click the Fork button on the repository page to create a copy of this repository in your GitHub account. -
Clone to local:
After forking, you should clone the project to your local computer. So you can start editing.git clone https://github.com/username/repository-name.git
Change
usernameandrepository-nameto match your GitHub account name and the repository you forked. -
Create a new branch:
Before starting changes, create a new branch with a descriptive name. This is important so that your changes do not affect themainbranch.git checkout -b branch-name
Replace
branch-namewith a name that matches the feature or bug you are working on, for examplefix-bug-training -
Make changes and commit:
After that, make the desired changes to the project. Once done, don't forget to stage and commit your changes with a clear message.git add . git commit -m "description of the changes you made"
-
Push changes to Github:
Push the changes you made to the repository you forked.git push origin branch-name
Replace
branch-namewith the name of the branch you just created. -
Create a Pull Request:
Once the push is complete, open GitHub and go to the repository page that you forked. There will be a button to create a Pull Request (PR) from the branch that you created to the repository. Click the button and fill in the PR description with a brief explanation of the changes you are making.
To maintain consistency across the project, please adhere to the following code style guidelines:
- Indentation: Use 2 spaces for indentation.
- Type safety: Avoid using
anyexplicitly. Try to use more specific data types such asstring,number, orboolean. - Naming Conventions: Use
camelCasefor variables and function names. UsePascalCasefor classes and constructors. - Avoid Global Variables: Always use local variables where possible.