| 1 | <h2 id="contribute">How to contribute</h2> |
| 2 | |
| 3 | [![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)<br> |
| 4 | This repo use standard js style , please use it if you want to contribute <br> |
| 5 | Take tasks from todo list, develop a new feature or fix a bug and do a pull request.<br> |
| 6 | Another thing that you can do to contribute is to build something on top of ring-election and link ring-election to your project <br> |
| 7 | |
| 8 | Please ask your PR to be merged on <strong>master</strong> branch . <br> |
| 9 | |
| 10 | <strong>How to run tests</strong><br> |
| 11 | |
| 12 | <strong>Unit tests </strong> <br> |
| 13 | |
| 14 | ```bash |
| 15 | npm run test |
| 16 | ``` |
| 17 | |
| 18 | |
| 19 | <strong> How to check if your new code is standard style </strong><br> |
| 20 | ```bash |
| 21 | npm run standard |
| 22 | ``` |
| 23 | <strong>How to lint your code</strong><br> |
| 24 | ```bash |
| 25 | npm run lint |
| 26 | ``` |