Contributing Guide
October 26, 2021 ยท View on GitHub
๐ Getting Started
-
Fork the parseArgs repo using the Fork button on the rop right
-
Clone your fork using SSH, GitHub CLI, or HTTPS
git clone git@github.com:<GITHUB_ID>/parseargs.git # SSH gh repo clone <GITHUB_ID>/parseargs # GitHub CLI git clone https://github.com/<GITHUB_ID>/parseargs.git # HTTPS -
Change into your local parseargs project directory created from the step above
cd parseargs -
Add pkgjs/parseargs as your upstream remote branch
git remote add upstream git@github.com:pkgjs/parseargs.git -
Create a new branch for your awesome work
git checkout -b <BRANCH_NAME> -
Confirm tests are passing
npm test -
Commit your work. See the
Pull Request and Commit Guidelinessection -
Push to your branch
git push -u origin <YOUR_BRANCH> -
Open a pull request
๐ Pull Request and Commit Guidelines
-
Multiple Commits would ideally be squashed and merged into one commit wherever possible
-
Do not use the merge button
-
Commit messages would ideally reference the associated changed subsystem or behavior.
-
Pull Requests for a new feature or bug fix must include tests. Additional tests or changes to the existing ones can made in the following file: test/index.js