Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 992 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (27 loc) · 992 Bytes

How to contribute

JavaScript Style Guide
This repo use standard js style , please use it if you want to contribute
Take tasks from todo list, develop a new feature or fix a bug and do a pull request.
Another thing that you can do to contribute is to build something on top of ring-election and link ring-election to your project

Please ask your PR to be merged on develop branch .

How to run tests

Unit tests

  npm run test

Unit test coverage must be greater than 99%.

Integration tests

cd  test/integration
./integration.sh
npm run integration-test

How to check if your new code is standard style

  npm run standard

How to lint your code

  npm run lint