Here are all of the steps you should follow whenever contributing to this repo!
- Before you start making changes, always make sure you're on the main branch, then
git pullandnpm ito make sure your code is up to date - Create a branch
git checkout -b <name-of-branch> - Make changes to the code
npm run lintto ensure code standards. (runningnpm run lint:fixwill fix most of the styling errors)
When interacting with Git/GitHub, feel free to use the command line, VSCode extension, or Github desktop. These steps assume you have already made a branch using git checkout -b <branch-name> and you have made all neccessary code changes for the provided task.
- View diffs of each file you changed using the VSCode Github extension (3rd icon on far left bar of VSCode) or GitHub Desktop
git add .(to stage all files) orgit add <file-name>(to stage specific file)git commit -m "<type>[optional scope]: <description>"orgit commit -m "<type>[optional scope]: <description>" -m "[optional body]"orgit committo get a message promptgit push -u origin <name-of-branch>
- Go to the Pull Requests tab on github.com
- Find your PR, fill out the PR template
- (If applicable, provide a screenshot of your work in the comment area)
- Link your PR to the corresponding Issue
- Request a reviewer to check your code
- Once approved, your code is ready to be merged in 🎉