This document outlines general patterns and conventions for contributing to the project. For in-depth documentation on Kadence, read the documentation.
Kadence adheres to Felix's Node.js Style Guide.
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
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!