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