Thank you for your interest in contributing to enum-plus! This document provides guidelines and instructions for contributing.
By participating in this project, you agree to abide by our Code of Conduct.
- Check if the bug has already been reported in the Issues
- Use the provided bug report template
- Include detailed steps to reproduce the bug
- Add information about your environment (OS, browser, version, etc.)
- Include screenshots if applicable
- Check if the feature has already been suggested in the Issues
- Use the provided feature request template
- Provide a clear description of the feature
- Explain why this feature would be useful to most users
We welcome code contributions through pull requests.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/enum-plus.git - Install dependencies:
npm install(or equivalent) - Create a branch for your changes:
git checkout -b feature/your-feature-name, based onmasterbranch. - Make your changes
- Test your changes:
npm test(or equivalent) - Commit your changes:
git commit -m "feat: ..." - Push to your fork:
git push origin feature/your-feature-name - Create a pull request against the
masterbranch of the original repository. Before submitting, ensure:- Your branch is up to date with the
masterbranch - You have resolved any merge conflicts
- Your pull request is based on the latest
masterbranch
- Your branch is up to date with the
- Fill out the pull request template with details about your changes
- Follow the existing code style
- Write clear, commented, and testable code
- Keep pull requests focused on a single topic
- Add or update tests for your changes
- Make sure all tests pass
- Use ESLint/Prettier for code formatting
- Follow conventional commits for commit messages
- Example formatting rules:
- Use 2 spaces for indentation
- Use camelCase for variables and functions
- Use PascalCase for classes and components
- Update the README.md or documentation with details of changes if needed
- Update the tests to reflect your changes
- Ensure all tests pass:
npm test - Create a pull request against the
masterbranch of the original repository. Before submitting, ensure:- Your branch is up to date with the
masterbranch - You have resolved any merge conflicts
- Your pull request is based on the latest
masterbranch
- Your branch is up to date with the
- Fill out the pull request template with details about your changes
- Link any relevant issues using keywords like "Fixes #123"
Follow the Conventional Commits specification:
type(scope): short description
[optional body]
[optional footer]
Types include:
feat: A new featurefix: A bug fixdocs: Documentation changesstyle: Code style changes (formatting, missing semicolons, etc)refactor: Code changes that neither fix bugs nor add featurestest: Adding or correcting testschore: Changes to the build process or auxiliary tools
By contributing, you agree that your contributions will be licensed under the project's license.
Feel free to reach out to the maintainers if you have any questions:
- Open an issue, choosing the "Ask a Questions" template