X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=CONTRIBUTING.md;h=e6babf4fea4a24343f5f926f4e023937bd6f4cd6;hb=7258488054d6b806c3e7571c68533c0d64e120d8;hp=bf5bc794ee8b3259738ad6b152667180fdb098a3;hpb=a3c8691eb5bd772a43746fd5860d54a786463039;p=poolifier.git diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bf5bc794..e6babf4f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,26 +1,36 @@ -

How to contribute

+## 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
+[![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 poolifier and link poolifier to your project -Please ask your PR to be merged on master branch .
+Please do your PR on **master** branch. -How to run tests
- -Unit tests
+**How to run unit tests and coverage** ```bash - npm run test + pnpm test && pnpm coverage ``` +**How to check if your new code is standard JS style** - How to check if your new code is standard style
```bash - npm run standard + pnpm lint ``` -How to lint your code
+ +**How to format and lint to standard JS style your code** + ```bash - npm run lint -``` \ No newline at end of file + pnpm format && pnpm lint:fix +``` + +### Project pillars + +Please consider our pillars before to start change the project + +- Performance :racehorse: +- Security :bank: :cop: +- No runtime dependencies :white_check_mark: (until now we don't have any exception to that) +- Easy to use :couple: +- Code quality :octocat: