Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.04 KB

CONTRIBUTING.md

File metadata and controls

48 lines (34 loc) · 1.04 KB

Contributing

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

Coding Style

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

Test Coverage

At the time of writing, Kad has near complete code coverage through its 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!