We love your input! We want to make contributing to this project as easy and transparent as possible.
The Contributing wiki page will help you set up the project on your local machine to quickly start contributing.
Pull requests are the way to propose changes to the codebase (we use GitHub flow). We actively welcome your pull requests:
- Fork the repo and create your branch from
main
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
We use GitHub issues to track public bugs. Report a bug by opening a new issue — it's that easy!
Here's a great example from Craig Hockenberry.
Great Bug Reports tend to have:
- A quick summary and/or background context
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
Try hard to be consistent with existing code.
The repo includes an .editorconfig file that most IDEs nowadays take into account when (auto-)formatting. You can
do npm run check
to check you conform to the defined lint rules.
By contributing to this repository, you agree that your contributions will be licensed under its MIT license.
This document was adapted from https://github.com/facebook/draft-js/blob/main/CONTRIBUTING.md.