Contributing to Wish
Thank you for your interest in contributing to Wish! We welcome all contributions, whether it's reporting bugs, requesting new features, or submitting pull requests. Please read the following guidelines to ensure a smooth and efficient process.
-
Fork the repository and clone your fork.
-
Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name
-
Make sure to update your fork frequently by syncing with the main branch.
git fetch origin git rebase origin/main
If you've found a bug, please open a new issue using our bug report template. Ensure your bug report includes:
- A clear description of the bug.
- Steps to reproduce the issue.
- Expected and actual behavior.
- Environment details (e.g., operating system, browser, etc.).
- Any error messages or logs.
We are open to new ideas! If you have a feature in mind, please submit a feature request using our template. Make sure to include:
- A description of the feature and its purpose.
- Any relevant use cases or scenarios.
- Why this feature would benefit the project.
We appreciate code contributions! Follow these steps when submitting a pull request:
- Make sure your code is aligned with our coding standards.
- Write clear, concise commit messages.
- Link any related issues in your pull request description.
- Submit a pull request against the
main
branch, with a descriptive title and detailed description of the changes.
Before submitting, ensure that your pull request:
- Passes all tests.
- Adds or updates tests as needed.
- Includes documentation if new features or significant changes are introduced.
- Use consistent indentation and formatting.
- Keep your code clean and readable.
- Follow the project’s existing code style.
- Document code where necessary, especially for complex logic.
Before submitting any changes, ensure that your code passes all existing tests. If you're adding new features or fixing bugs, please write or update the tests accordingly.
- Run the test suite:
npm test
- For new features, include unit tests that cover the edge cases.
By contributing to Wish, you agree that your contributions will be licensed under the project's LICENSE.
By following these guidelines, you help ensure that the project remains well-organized and easy to maintain. We appreciate every contribution, large or small, and look forward to working together to make Wish even better!
Thank you for contributing!
This template can be customized further to fit the specific needs of your project!