|
|
@ -5,9 +5,10 @@ |
|
|
|
"disallowMultipleLineStrings": true, |
|
|
|
"disallowMultipleLineStrings": true, |
|
|
|
"disallowMultipleVarDecl": true, |
|
|
|
"disallowMultipleVarDecl": true, |
|
|
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
|
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!", "-", "--", "~", "+", "++"], |
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|
|
|
"disallowSpaceBeforeBinaryOperators": [","], |
|
|
|
"disallowSpaceBeforeBinaryOperators": [","], |
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": true, |
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|
|
|
|
|
|
|
//"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, |
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
|
|
|
"disallowSpacesInsideArrayBrackets": true, |
|
|
|
"disallowSpacesInsideArrayBrackets": true, |
|
|
|
"disallowSpacesInsideParentheses": true, |
|
|
|
"disallowSpacesInsideParentheses": true, |
|
|
@ -18,21 +19,31 @@ |
|
|
|
"requireCapitalizedConstructors": true, |
|
|
|
"requireCapitalizedConstructors": true, |
|
|
|
"requireCommaBeforeLineBreak": true, |
|
|
|
"requireCommaBeforeLineBreak": true, |
|
|
|
"requireCurlyBraces": true, |
|
|
|
"requireCurlyBraces": true, |
|
|
|
|
|
|
|
//"requireDollarBeforejQueryAssignment": true, |
|
|
|
"requireDotNotation": true, |
|
|
|
"requireDotNotation": true, |
|
|
|
"requireLineFeedAtFileEnd": true, |
|
|
|
"requireLineFeedAtFileEnd": true, |
|
|
|
|
|
|
|
"requirePaddingNewLinesAfterUseStrict": true, |
|
|
|
|
|
|
|
"requirePaddingNewLinesBeforeExport": true, |
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
"requireSpaceAfterBinaryOperators": true, |
|
|
|
"requireSemicolons": true, |
|
|
|
|
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"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": true, |
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"requireSpaceBeforeBlockStatements": true, |
|
|
|
"requireSpaceBeforeBlockStatements": true, |
|
|
|
|
|
|
|
"requireSpaceBetweenArguments": true, |
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, |
|
|
|
"requireSpacesInConditionalExpression": true, |
|
|
|
"requireSpacesInConditionalExpression": true, |
|
|
|
|
|
|
|
//"requireSpacesInForStatement": true, |
|
|
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
|
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
|
|
"requireSpacesInsideObjectBrackets": "allButNested", |
|
|
|
|
|
|
|
"validateAlignedFunctionParameters": true, |
|
|
|
"validateIndentation": 2, |
|
|
|
"validateIndentation": 2, |
|
|
|
"validateLineBreaks": "LF", |
|
|
|
"validateLineBreaks": "LF", |
|
|
|
|
|
|
|
"validateNewlineAfterArrayElements": true, |
|
|
|
"validateParameterSeparator": ", ", |
|
|
|
"validateParameterSeparator": ", ", |
|
|
|
"validateQuoteMarks": "'" |
|
|
|
"validateQuoteMarks": "'" |
|
|
|
} |
|
|
|
} |
|
|
|