Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (35 loc) · 1.11 KB

CONTRIBUTING.md

File metadata and controls

50 lines (35 loc) · 1.11 KB

Contributing

Want to contribute? Check out our issue board!

This document outlines general patterns and conventions for contributing to the project. For in-depth documentation on Kad, read the documentation.

Coding Style

Kad adheres to Felix's Node.js Style Guide.

Test Coverage

At the time of writing, Kad has complete code coverage (100%) through it's test suite. It is important to never decrease coverage, so be sure to include tests for any new code.

You can run the coverage report with:

npm run coverage

Linting

To help maintain consistent expectations for code quality and enforcing these conventions, there is an included .eslintrc file. Most editors support using this to alert you of offending code in real time but, if your editor does not, you can run the linter with:

npm run linter

Alternatively, the linter will run as part of the test suite as well, which can be executed with:

npm test

Have fun and be excellent!