|
|
|
@ -5,15 +5,15 @@
|
|
|
|
|
"disallowMultipleLineStrings": true, |
|
|
|
|
"disallowMultipleVarDecl": true, |
|
|
|
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!"], |
|
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!", "-", "--", "~", "+", "++"], |
|
|
|
|
"disallowSpaceBeforeBinaryOperators": [","], |
|
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": true, |
|
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
|
|
|
|
"disallowSpacesInsideArrayBrackets": true, |
|
|
|
|
"disallowSpacesInsideParentheses": true, |
|
|
|
|
"disallowTrailingComma": true, |
|
|
|
|
"disallowTrailingWhitespace": true, |
|
|
|
|
//"requireBlocksOnNewline": true, |
|
|
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
|
|
|
"requireCapitalizedConstructors": true, |
|
|
|
|
"requireCommaBeforeLineBreak": true, |
|
|
|
@ -21,17 +21,18 @@
|
|
|
|
|
"requireDotNotation": true, |
|
|
|
|
"requireLineFeedAtFileEnd": true, |
|
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
|
"requireSpaceAfterBinaryOperators": true, |
|
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
|
|
|
"requireSpaceAfterLineComment": true, |
|
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
"requireSpaceBeforeBinaryOperators": true, |
|
|
|
|
"requireSpaceBeforeBlockStatements": true, |
|
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
|
|
|
|
"requireSpacesInConditionalExpression": true, |
|
|
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
|
|
|
"validateIndentation": 2, |
|
|
|
|
"validateLineBreaks": "LF", |
|
|
|
|
"validateParameterSeparator": ", ", |
|
|
|
|
"validateQuoteMarks": "'" |
|
|
|
|
} |
|
|
|
|