-
Notifications
You must be signed in to change notification settings - Fork 77
Contributing Guide
-
Find an issue that you would like to to work on. Please comment on the issue and wait to be assigned before working on it.
-
Clone the bot and set it up
- Read this guide about getting started for instructions
-
Before you start working on your issue create a branch with the following naming conventions: If it's a new command:
git checkout -b feature/new-command-name
If it's an update of an existing command:
git checkout -b command-name/new-addition-name
If it's a typo, grammar, or functionality fix:
git checkout -b fix/what-you-fixed
-
When you have finished, lint and format your file(s) with the following commands:
npm run eslint
Then once any errors have been resolved, format with:
npm run format -- <path to file>
-
When lint checks are successful, you have formatted your file(s) and are ready to submit a pull request:
Push your branch to your fork:
git push origin <your branch name here>
-
Create a pull request.
- Go to your fork on Github after you have pushed up your branch. A new button should be visible near the top of the page. It will allow you to create a pull request to the original Odin Project repository.
- Please link to the issue your pull request in the sidebar of the PR or write "closes #" in the body of your pull request.
Please let us know if you require any help doing any of the steps in this guide by commenting in the appropriate issue or pull request.