- File an issue to notify the maintainers about what you're working on.
- Fork the repo, develop and test your code changes, add docs.
- Make sure that your commit messages clearly describe the changes.
- Send a pull request.
Use the issue tracker to start the discussion. It is possible that someone else is already working on your idea, your approach is not quite right, or that the functionality exists already. The ticket you file in the issue tracker will be used to hash that all out.
- Use modular architecture to group similar functions, classes, etc.
- Always use 2 spaces for indentation (don't use tabs)
- Use double quote for string
- Class names should always be capitalized
- Function names should always be lowercase
- Look at the existing style and adhere accordingly
Be sure to add the relevant tests before making the pull request.
Is not mandatory, but is appreciated to have an example of your changes in demo/
folder.
Docs will be updated automatically when we merge to master, but you should also build the docs yourself and make sure they're readable.
- Fork the repository and create your branch from master.
- Run
yarn install
in the repository root. - If you’ve fixed a bug or added code that should be tested, add tests!
- Run
yarn test
to run test suite.
Be sure to reference the original issue in the pull request. Expect some back-and-forth with regards to style and compliance of these rules.