Skip to content

Latest commit

Β 

History

History
84 lines (59 loc) Β· 1.69 KB

File metadata and controls

84 lines (59 loc) Β· 1.69 KB

Contributing to License Guard

First off, thank you for considering contributing to License Guard! πŸŽ‰

πŸš€ Quick Start

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/YOUR_USERNAME/license-guard.git
  3. Install dependencies: npm install
  4. Create a branch: git checkout -b feature/amazing-feature
  5. Make your changes
  6. Test: npm test
  7. Commit: git commit -m 'Add amazing feature'
  8. Push: git push origin feature/amazing-feature
  9. Open a Pull Request

πŸ“‹ Development Setup

# Install dependencies
npm install

# Run the CLI locally
node src/cli.js scan

# Run tests
npm test

# Lint code
npm run lint

πŸ§ͺ Testing

Please add tests for any new features. We use Node.js built-in test runner.

npm test

πŸ“ Commit Messages

We follow Conventional Commits:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • test: - Test additions/changes
  • refactor: - Code refactoring
  • chore: - Maintenance tasks

Examples:

feat: add support for Cargo.toml scanning
fix: handle missing LICENSE files gracefully
docs: improve API documentation

πŸ› Bug Reports

Please include:

  • Node.js version
  • Operating system
  • Steps to reproduce
  • Expected vs actual behavior

πŸ’‘ Feature Requests

Open an issue with:

  • Clear description of the feature
  • Use case / why it's needed
  • Any implementation ideas

πŸ“œ Code of Conduct

Be kind and respectful. We're all here to make great software together.

πŸ“„ License

By contributing, you agree that your contributions will be licensed under the MIT License.


Thank you for helping make License Guard better! πŸ’–