Thank you for your interest in contributing to the TMDB Addon! This document provides guidelines and instructions for contributing to the project.
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
- Check if the bug has already been reported in the Issues section
- If not, create a new issue using the bug report template
- Include:
- Clear title and description
- Steps to reproduce
- Expected behavior
- Actual behavior
- Screenshots if applicable
- Your environment details
- Check if the enhancement has been suggested in the Issues section
- If not, create a new issue using the feature request template
- Include:
- Clear title and description
- Use case
- Proposed solution
- Alternative solutions considered
-
Fork the repository
-
Create a new branch:
git checkout -b feature/your-feature
-
Make your changes
-
Run tests and linting:
npm test npm run lint
-
Commit your changes:
git commit -m "feat: add some feature"
We use Conventional Commits specification.
-
Push to your fork:
git push origin feature/your-feature
-
Open a Pull Request
We follow the Conventional Commits specification:
feat:
- A new featurefix:
- A bug fixdocs:
- Documentation changesstyle:
- Code style changes (formatting, etc)refactor:
- Code changes that neither fix bugs nor add featuresperf:
- Performance improvementstest:
- Adding or modifying testschore:
- Changes to build process or auxiliary tools
Example:
feat: add support for custom catalogs
- Add catalog interface
- Implement catalog registration
- Add documentation
-
Pick an Issue:
- Look for issues labeled
good first issue
orhelp wanted
- Comment on the issue to let others know you're working on it
- Look for issues labeled
-
Development:
- Follow the Development Guide
- Keep changes focused and atomic
- Add tests for new features
-
Code Review:
- All submissions require review
- Be open to feedback and suggestions
- Respond to comments promptly
- Follow the existing code style
- Use TypeScript for type safety
- Write meaningful comments
- Keep functions small and focused
- Use descriptive variable names
- Write tests for new features
- Ensure all tests pass before submitting
- Include both unit and integration tests
- Test edge cases
- Update documentation for new features
- Include JSDoc comments for functions
- Update README if necessary
- Add examples when helpful
- Check the Development Guide
- Look through closed issues for similar problems
- Ask questions in the discussions section
- Join our community chat
Contributors will be recognized in:
- The project's README
- Release notes
- Our contributors page
Thank you for contributing to TMDB Addon!