From cf3ce59e670f6c40d25d72a6b2e855a44e0a1f28 Mon Sep 17 00:00:00 2001 From: Soorena Date: Thu, 21 Dec 2017 19:29:43 +0330 Subject: [PATCH 1/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 100d05aca..f0a464752 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,7 @@ Here's what you can do to help: - **Snippet code** must be enclosed inside ` ```js ` and ` ``` `. - Remember to start your snippet's code on a new line below the opening backticks. - Use ES6 notation to define your function. For example `const myFunction = ( arg1, arg2 ) => { }`. + - Please use Javacript [Standard Style](https://github.com/standard/standard). - Try to keep your snippets' code short and to the point. Use modern techniques and features. Make sure to test your code before submitting. - All snippets must be followed by one (more if necessary) test case after the code, on a new line, in the form of a comment, along with the expected output. The syntax for this is `myFunction('testInput') -> 'testOutput'`. Use multiline comments only if necessary. - Try to make your function name unique, so that it does not conflict with existing snippets. From c1b85ac253c53dea7b081f5b0d96eeb1d569502d Mon Sep 17 00:00:00 2001 From: Soorena Date: Thu, 21 Dec 2017 19:37:59 +0330 Subject: [PATCH 2/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f0a464752..50ff76dc6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ Here's what you can do to help: - **Snippet code** must be enclosed inside ` ```js ` and ` ``` `. - Remember to start your snippet's code on a new line below the opening backticks. - Use ES6 notation to define your function. For example `const myFunction = ( arg1, arg2 ) => { }`. - - Please use Javacript [Standard Style](https://github.com/standard/standard). + - Please use Javacript [Semi-Standard Style](https://github.com/Flet/semistandard). - Try to keep your snippets' code short and to the point. Use modern techniques and features. Make sure to test your code before submitting. - All snippets must be followed by one (more if necessary) test case after the code, on a new line, in the form of a comment, along with the expected output. The syntax for this is `myFunction('testInput') -> 'testOutput'`. Use multiline comments only if necessary. - Try to make your function name unique, so that it does not conflict with existing snippets.