Welcome
Thank you for considering contributing to Rule Engine JS! This guide will help you get started.Setup
Clone, install, and verify
Contribute
Bug fixes, features, docs
Test
Write and run tests
Submit
Create pull requests
Quick Start
1. Fork and Clone
2. Install Dependencies
3. Development Commands
Project Structure
Contribution Types
- 🐛 Bug Fixes
- ✨ Features
- 📚 Documentation
- 🔧 Operators
Process:
- Search existing issues
- Create test case that reproduces bug
- Fix the bug
- Ensure all tests pass
- Update docs if needed
Commit Convention
We follow Conventional Commits:feat: New featurefix: Bug fixdocs: Documentationstyle: Code style (formatting)refactor: Code refactoringperf: Performance improvementtest: Adding/modifying testschore: Maintenance taskssecurity: Security fixes
Code Standards
JavaScript Style
Error Handling
Testing
Test Structure
Test Requirements
- 100% coverage for new features
- Test edge cases - null, undefined, empty
- Test errors - invalid inputs
- Test performance - no regressions
Pull Request Process
Before Creating PR
PR Checklist
- Tests pass locally
- Code follows style guidelines
- Documentation updated
- Commit messages follow convention
- No breaking changes (or documented)
- Examples added (if applicable)
PR Template
Security
Reporting Vulnerabilities: Do not open public issues for security vulnerabilities. Email: crafts69guy@gmail.com Include:- Reproduction steps
- Impact assessment
- Possible fixes (if known)
Issue Guidelines
Before Creating Issue
- Search existing issues - Avoid duplicates
- Check documentation - Verify not covered
- Test latest version - Ensure issue exists
- Create minimal reproduction - Simplest case
