Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 2.03 KB

Contributing.md

File metadata and controls

36 lines (20 loc) · 2.03 KB

Contributing to TerminusDB JS Client

Thanks for your interest in contributing to Terminus Client. To get started, fork this repo and follow the instruction setting up dev environment. If you don't have idea where to start, you can look for good first issue or the help wanted label at issues. All pull requests should follow the Pull Request Format Guideline and pull requests (PR) that involving coding should come with tests and documentation. All pull request should be made towards dev branch

Setting up dev environment

Make sure you have npm installed. Fork and clone this repo, then in your local repo:

npm install

Writing tests and testing

We are using chai and mocha module for testing. All tests are stored in /test

To run the tests and coverage:

npm run cover

Writing Documentation

Please follow JSDoc for documentation. (Cheatsheet available here) It is important to follow the formatting as all documentation will be automatically rendered form the JSDoc.

Pull Request Format Guideline

Please put the type of the pull request in the title:

  • [Doc] for documentation
  • [Bug] for bug fixes
  • [Feature] for new features
  • [WIP] for work in progress (will not be reviewed)

Also, if there is a related issues, please also put the issue numbers in blankets in the title, for example: (#10)

It would be great if you could describe what you have done in the pull request (more detail the better). If there is an issue that can be closed by this PR, you can put Close #XX or Fix #XX (while XX is the issue number) to close that issue automatically when your PR is merged.

Following the guideline makes the reviewing process of the PR much efficient.