From 557def798895e719884a335486f8d311fe06f59c Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Thu, 23 Jan 2020 15:06:09 +0800 Subject: [PATCH] fix(CONTRIBUTING.md): moved to root dir Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- CONTRIBUTING.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..bf5bc794 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,26 @@ +

How to contribute

+ +[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)
+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 master branch .
+ +How to run tests
+ +Unit tests
+ +```bash + npm run test +``` + + + How to check if your new code is standard style
+```bash + npm run standard +``` +How to lint your code
+```bash + npm run lint +``` \ No newline at end of file -- 2.34.1