Welcome! 🎉 We're excited you're interested in contributing to this project. Please take a moment to review this document to make the process smooth for everyone.
- Getting Started
- How to Contribute
- Code Style
- Commit Messages
- Pull Requests
- Reporting Issues
- Community
-
Fork the repository.
-
Clone your fork:
git clone https://github.com/issamoxix/Comit.git cd Comit
-
Install dependencies (if any):
go mod tidy
-
Run the tests to make sure everything is working:
go test ./...
- 💡 Fix bugs
- ✨ Add new features
- 🧪 Improve tests or add coverage
- 🧹 Refactor or improve existing code
- 📚 Improve documentation
If you're not sure where to start, check out the issues labeled good first issue
.
- Follow Effective Go.
- Use
go fmt
,go vet
, andgolint
(if used in the project). - Keep functions short and focused.
- Write clear, self-explanatory code.
To format your code automatically:
go fmt ./...
use the Comit
comit
# fix(parser): handle nil pointer in token parser
Types include: feat
, fix
, docs
, style
, refactor
, test
, chore
.
- Make sure all tests pass.
- Make sure your changes are linted and formatted.
- Keep PRs focused and small.
- Link to any relevant issues.
- Add tests for new functionality if possible.
When reporting a bug, please include:
- A clear description
- Steps to reproduce
- Expected vs actual behavior
- Relevant logs or error messages
- Your Go version and OS
Be kind, respectful, and constructive. We follow the Contributor Covenant Code of Conduct.
Thanks for helping make this project better! 🎈
---
Let me know if you'd like to add sections for GitHub Actions, specific tools like `golangci-lint`, or examples of tests!