eslint-plugin-relay
is one of Facebook's open source projects that is both under very active development and is also being used to ship code to everybody on facebook.com. We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and answers some questions that you may have.
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Unlike Relay, this project is developed directly and exclusively on GitHub. We intend to release updates quickly after changes are merged.
Before submitting a pull request, please make sure the following is done…
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- Ensure the test suite passes (
yarn test
ornpm test
). - Auto-format the code by running
yarn run prettier
ornpm run prettier
. - If you haven't already, complete the CLA.
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another Facebook open source project, you're good to go. If you are submitting a pull request for the first time, just let us know that you have completed the CLA and we can cross-check with your GitHub username.
We will be using GitHub Issues bugs and feature requests. Before filing a new issue, make sure an issue for your problem doesn't already exist.
By contributing to eslint-plugin-relay
, you agree that your contributions will be licensed under its MIT license.