We welcome all contributions. Big or small, every change matters.
To keep things simple and to maintain quality, please follow these guidelines.
- Please read our
README.md
andACKNOWLEDGEMENTS
to understand our work. - Familiarize yourself with our directory structure. Each file is hand-crafted.
- Make sure that you have Node.js LTS 20.18.0 or later.
-
Open an issue: If you find a bug or want to suggest an improvement, open an issue. Describe the problem and proposed changes in simple terms.
-
Create a fork and branch: Work in a dedicated branch. Use short, clear names:
git checkout -b my-fix
-
Maintain code style: We value simple, readable code. Follow our coding style:
- Keep line length <= 79 chars.
- Use simple American English.
- Keep comments brief and clear.
- Keep logic small and focused.
Example code comment:
// Good: Explains why, offering crucial context. // Bad: Focuses on how or adds unnecessary verbosity.
-
Write tests: Test your changes. Add or update tests in
*.tests.ts
files. Run tests:npm test
Make sure all tests pass before sending your changes.
-
Use clear commit messages:
- Summarize changes in 79 chars or fewer.
- Use simple language.
- Example commit message:
Fix off-by-one error in property-based test
Commit messages should be short and clear.
-
Open a pull request (PR) targeting the
master
branch: Keep it small and focused. Explain what and why. Example PR description:This PR fixes a minor off-by-one error in the property-based tests. The fuzzing process now produces the expected results.
-
Be patient and open-minded: Reviewers may ask questions or suggest changes. We believe in polite and constructive discussion.
- Keep your changes small and do one thing at a time.
- Make sure your PR is easy to review. Clear code and tests ease the review process.
- Provide context for your changes. Explain why they are needed.
- Don't rush. Take time to polish your work.
We appreciate your interest in improving Rendezvous (rv
).
Your contributions help keep rv
robust, helpful, and accessible to everyone.
This CONTRIBUTING guide is crafted with inspiration from the following:
- AutoFixture CONTRIBUTING.md by AutoFixture contributors
- Hedgehog STYLE_GUIDE.md by Hedgehog contributors
- 10 Tips for Better Pull Requests by Mark Seemann (ploeh)
- The Importance of Comments by Oren Eini (Ayende Rahien)
(These references also highlight some of our roots and past influences.)