fast-calorie/CONTRIBUTING.md

2.1 KiB

Contributing

So you want to contribute, nice. Thank you.

Bug reports and code and documentation patches are all welcome. You can help this project also by using the development version and by reporting any bugs you might encounter.

You may contribute in several ways like:

  • Creating new features
  • Fixing bugs
  • Improving documentation and examples
  • Translating any document here to your language

Table of contents

Developing

The core logic is essentially a single source file in the project. It is the /public/js/index.js.

The test/index.spec.js is for now the only unit test file in the project.

Running tests

Run unit tests using this command:

npm run test

Reporting a bug

Use the Issue Tracker to report any bug you find. Bugs description should include:

  • How to reproduce the bug;
  • Easy to understand title;

Would be nice to have some code showing how to reproduce the code, you may use gist or Codepen for uploading your example code.

Request a feature

Use the Issue Tracker to request a new feature.

Keep in mind, this is a pure native web tech app: HTML, CSS, JS

Commit message

Commit messages should includes issue number reference and a imperative easy to understand sentence.

Coding style

If it is supported in all major browers without transpiling, then please use those JavaScript language features in your code, with one caveat -- readablity is king.

Currently all ES5 and ES6/ES2015 are available.

This project is linted agaist ESLint and the .eslintrc.json is dead-simple, and all you need to followed.

Thank you for reading this.

Hey, star this repo and/or share it with your friends.