Update CONTRIBUTING.md

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
vinayak
2020-05-03 20:08:32 +05:30
committed by GitHub
parent e3e4d97066
commit 31cd69ea84

View File

@ -46,15 +46,14 @@ Algorithms in this repo should not be how-to examples for existing JavaScript pa
#### Coding Style
We want your work to be readable by others; therefore, we encourage you to note the following:
- Must follow [JavaScript Standard Style](https://standardjs.com/)
To maximize the readability and correctness of our code, we require that new submissions follow [JavaScript Standard Style](https://standardjs.com/)
- Command to install JavaScript Standard Style
```
$ npm install standard --save-dev
```
- Usage
```
$ standard
$ standard MyFile.js // if that fails, try: npx standard MyFile.js
```
- Use camelCase for identifier names (variables and functions)