Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 2.7 KB

CONTRIBUTING.md

File metadata and controls

77 lines (58 loc) · 2.7 KB

Contributing to express-yup-middleware

Thank you for considering contributing to express-yup-middleware! We welcome all kinds of contributions: bug reports, feature requests, documentation improvements, and code contributions.

Table of Contents

  1. Code of Conduct
  2. How to Contribute
  3. Development Setup
  4. Style Guides
  5. Additional Notes

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

How to Contribute

Reporting Bugs

If you find a bug in the project, please open an issue and include:

  • A clear and descriptive title.
  • A detailed description of the bug.
  • Steps to reproduce the bug.
  • Expected and actual behavior.
  • Screenshots, if applicable.
  • Any relevant log files or error messages.

Suggesting Enhancements

To suggest an enhancement, please open an issue and provide:

  • A clear and descriptive title.
  • A detailed description of the proposed enhancement.
  • The motivation for the enhancement (why it would be beneficial).
  • Any relevant examples or references.

Submitting a Pull Request

To submit a pull request:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make your changes.
  4. Ensure all tests pass and add new tests if necessary.
  5. Commit your changes with a descriptive commit message.
  6. Push your branch to your forked repository.
  7. Open a pull request on the main repository and provide a detailed description of your changes.

Development Setup

To set up your development environment:

  1. Fork and clone the repository.
  2. Navigate to the project directory.
  3. Install dependencies using yarn.

Style Guides

Git Commit Messages

  1. Use the present tense ("Add feature" not "Added feature").
  2. Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
  3. Limit the first line to 72 characters or less.
  4. Reference issues and pull requests liberally.
  5. Consider including links to relevant issues, documentation, or discussions.

Additional Notes

We appreciate your effort in making this project better and your contribution is valuable. If you need any help or have questions, feel free to open an issue for support.

Running Tests

Run tests using:

npm test