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