Thank you for your interest in contributing to markdown-tree-parser!
-
Fork the repository on GitHub
-
Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/markdown-tree-parser.git cd markdown-tree-parser -
Install dependencies:
npm install
-
Create a new branch for your feature:
git checkout -b feature/your-feature-name
Make sure your changes pass all checks:
# Run tests
npm test
# Run linting
npm run lint
# Format code
npm run format
# Test CLI
npm run test:cli- Use clear, descriptive commit messages
- Follow conventional commit format when possible:
feat:for new featuresfix:for bug fixesdocs:for documentation changestest:for test improvementsrefactor:for code refactoring
- Ensure all tests pass and code is properly formatted
- Update documentation if needed
- Add tests for new functionality
- Submit a pull request with a clear description of changes
This project uses:
- ESLint for code linting
- Prettier for code formatting
- Conventional commit messages
Feel free to open an issue for any questions or discussions!