First off, thank you for considering contributing to JavaScript Mastery! It's people like you that make this project great.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
Before creating bug reports, please check the existing issues as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps which reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed
- Explain which behavior you expected to see instead
- Include screenshots if possible
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- Use a clear and descriptive title
- Provide a step-by-step description of the suggested enhancement
- Provide specific examples to demonstrate the steps
- Describe the current behavior and explain the behavior you'd like to see
- Explain why this enhancement would be useful
- Fork the repo and create your branch from
main - If you've added code that should be tested, add tests
- If you've changed APIs, update the documentation
- Ensure the test suite passes
- Make sure your code lints
- Issue that pull request!
- Fork and clone the repository
- Install Node.js (version specified in
.nvmrc) - Run
npm install - Copy
.env.exampleto.envand configure - Run
npm run devto start development
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Commit your changes:
git commit -m 'feat: add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
We follow Conventional Commits.
Format: <type>(<scope>): <subject>
Types:
feat: New featurefix: Bug fixdocs: Documentationstyle: Formatting, missing semi colons, etcrefactor: Code refactoringtest: Adding testschore: Build process, tooling changes
Example: feat(core): add user authentication
- Write tests for new features
- Ensure all tests pass before submitting PR
- Maintain or improve code coverage
- Use ESLint and Prettier configurations provided
- Follow the existing code style
- Write meaningful comments and documentation