Last active
July 8, 2016 14:49
-
-
Save afiedler/4a99eeb75e907be44f2dfc69e30a9716 to your computer and use it in GitHub Desktop.
NVPS JS Coding Conventions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Taken from Visual Studio Code Defaults | |
// Enable / disable JavaScript validation | |
"javascript.validate.enable": true, | |
| |
// Defines space handling after a comma delimiter | |
"javascript.format.insertSpaceAfterCommaDelimiter": true, | |
| |
// Defines space handling after a semicolon in a for statement | |
"javascript.format.insertSpaceAfterSemicolonInForStatements": true, | |
| |
// Defines space handling after a binary operator | |
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true, | |
| |
// Defines space handling after keywords in control flow statement | |
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true, | |
| |
// Defines space handling after function keyword for anonymous functions | |
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true, | |
| |
// Defines space handling after opening and before closing non empty parenthesis | |
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, | |
| |
// Defines space handling after opening and before closing non empty brackets | |
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, | |
| |
// Defines whether an open brace is put onto a new line for functions or not | |
"javascript.format.placeOpenBraceOnNewLineForFunctions": false, | |
| |
// Defines whether an open brace is put onto a new line for control blocks or not | |
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment