Thank you for considering contributing to Embla Carousel, contributions are welcome! When contributing, your code will be used as part of an open source product if merged. By submitting a Pull Request, you are giving your permission for your code to be integrated into Embla Carousel as part of an open source product.
All bug reports require a reduced test case. Providing a test case is the best way to get any issue addressed. It helps us all to understand the problem. Without this, your issue may be closed. Please follow this checklist:
Test case:
Create one by forking one of the CodeSandboxes on the examples page. If applicable, choose the most relevant one.Demonstrate:
Make sure the test case clearly demonstrates the issue.Do not:
Provide a link to a production site. That's not a test case.Create a Pull Request:
If you want to solve the bug yourself, please make sure the branch name follows this patternbug/branchname-goes-here
.
For any new features it's important to follow this checklist:
Discuss:
Open an issue before starting any significant work. Let's discuss to see how the proposed feature fits within Embla Carousels's vision.Prettier:
Make sure your editor adheres to prettier configuration files.Code style:
Follow the current code style as described here.Create a Pull Request:
Please make sure the branch name follows this patternfeature/branchname-goes-here
.
All code contributions should follow the current code style
. Please take your time to understand the current setup and don't introduce new styles that clearly deviates from the project code style
.