Thank you for your interest in contributing to this project! 🎉 We welcome contributions from everyone—whether you're fixing bugs, improving documentation, or adding new features.
- Click the Fork button at the top right of this repository.
- This creates a copy of the project under your GitHub account.
git clone https://github.com/BeyteFlow/errlens
cd errlensPrerequisites: Node.js v20.0.0 or higher is required (see engines field in package.json). No Docker, database, or .env file is needed.
# Install dependencies using npm
npm install
# Verify the CLI works locally
node bin/index.js --version
# Run the test suite
npm test
# which runs: node --test test/**/*.test-lang.jsNote: There is no dev server to start — ErrLens is a CLI tool. After
npm install, usenode bin/index.jsin place of theerrlenscommand to test your changes locally.
Always create a new branch before making changes:
git checkout -b feature/your-feature-nameBranch naming conventions:
feature/...for new featuresfix/...for bug fixesdocs/...for documentation updates
- Keep your changes small and focused.
- Write clear and meaningful commit messages.
Example:
git commit -m "Add user authentication feature"Please follow these general guidelines:
- Write clean and readable code
- Use meaningful variable and function names
- Follow consistent formatting
- Add comments where necessary
- Keep functions small and modular
- Avoid code duplication
- Write reusable components/functions
- Handle errors gracefully
- Ensure your code does not break existing functionality
Before submitting your changes:
- Run existing tests (if available)
- Add new tests for new features (if applicable)
- Make sure everything works as expected
git push origin feature/your-feature-name- Go to your fork on GitHub
- Click Compare & Pull Request
- Provide a clear description of your changes
- Describe what you changed and why
- Reference related issues (if any)
- Keep PRs focused and concise
When creating an issue, please include:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected vs actual behavior
- Screenshots (if applicable)
- Fork the repository
- Clone your fork
- Create a new branch
- Make your changes
- Commit and push
- Submit a Pull Request
- Address review feedback (if any)
- Do not commit sensitive information (API keys, passwords, etc.)
- Keep dependencies minimal and necessary
- Update documentation when needed
- Follow existing project structure and patterns
Your contributions help improve this project for everyone. We appreciate your time and effort! 🚀