We appreciate your interest in contributing to MageForge! Please follow the guidelines below to ensure a smooth and effective contribution process.
- Create an Issue: Start by creating an issue to describe your feature request or bug report. Be sure to include all relevant details.
- Fork the Repository: Fork this repository and create a new branch for your work that corresponds to the issue you opened.
- Commit Your Changes: Make your changes in the new branch and commit them with clear, descriptive messages.
- Open a Pull Request: Submit a pull request to merge your changes into the
main
branch of this repository.
- Magento Coding Standards: Adhere to the Magento Coding Standards throughout your code.
- Code Validation: Make sure your code is free of errors and warnings.
- GitHub Actions: Our pipeline will automatically check coding standards using GitHub Actions.
- Markdown Syntax: Use Markdown syntax for all documentation files.
- License Information: Review the LICENSE file for detailed licensing information.
- Contribution License: By contributing, you agree that your work will be licensed under the MIT License.
- Indentation: Use 4 spaces for indentation.
- Naming Conventions: Choose meaningful names for variables and functions.
- Line Length: Keep lines under 80 characters wherever possible.
- Linting: Run
trunk check
to lint your code before submission.
If you use VSCode, our workspace settings, located in .vscode/settings.json
, will be applied automatically. We recommend using the Git Commit Message Helper to format your commit messages with the appropriate prefixes based on your GitHub branch name and issue ID.
For example, use: #123 - Commit Message ...
- Comments: Write clear and concise comments.
- Documentation: Provide descriptions for functions, classes, and parameters.
- Testing: Thoroughly test your code before submitting it.
- Submit for Review: Once your pull request is ready, submit it for review.
- Request a Review: Request a code review from a maintainer.
- Address Feedback: Respond to any feedback or requested changes promptly.
- Ensure Tests Pass: Make sure all tests pass before your pull request is merged.
Thank you for contributing to MageForge! Your efforts help make this project better for everyone.