|
|
@ -1,30 +1,32 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"disallowEmptyBlocks": true, |
|
|
|
"disallowEmptyBlocks": true, |
|
|
|
"disallowKeywords": ["with"], |
|
|
|
"disallowKeywords": ["with"], |
|
|
|
"disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
|
|
|
|
|
|
|
"disallowMixedSpacesAndTabs": true, |
|
|
|
"disallowMixedSpacesAndTabs": true, |
|
|
|
"disallowMultipleLineStrings": true, |
|
|
|
"disallowMultipleLineStrings": true, |
|
|
|
"disallowMultipleVarDecl": true, |
|
|
|
"disallowMultipleVarDecl": true, |
|
|
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
|
|
"disallowQuotedKeysInObjects": "allButReserved", |
|
|
|
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], |
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["!"], |
|
|
|
|
|
|
|
"disallowSpaceBeforeBinaryOperators": [","], |
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|
|
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|
|
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|
|
|
|
|
|
|
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, |
|
|
|
"disallowSpacesInsideArrayBrackets": true, |
|
|
|
"disallowSpacesInsideArrayBrackets": true, |
|
|
|
"disallowSpacesInsideParentheses": true, |
|
|
|
"disallowSpacesInsideParentheses": true, |
|
|
|
|
|
|
|
"disallowTrailingComma": true, |
|
|
|
"disallowTrailingWhitespace": true, |
|
|
|
"disallowTrailingWhitespace": true, |
|
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true, |
|
|
|
"requireCapitalizedConstructors": true, |
|
|
|
"requireCapitalizedConstructors": true, |
|
|
|
"requireCommaBeforeLineBreak": true, |
|
|
|
"requireCommaBeforeLineBreak": true, |
|
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], |
|
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], |
|
|
|
"requireDotNotation": true, |
|
|
|
"requireDotNotation": true, |
|
|
|
"requireLeftStickedOperators": [","], |
|
|
|
|
|
|
|
"requireLineFeedAtFileEnd": true, |
|
|
|
"requireLineFeedAtFileEnd": true, |
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
"requireParenthesesAroundIIFE": true, |
|
|
|
"requireRightStickedOperators": ["!"], |
|
|
|
|
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
|
|
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], |
|
|
|
|
|
|
|
"requireSpaceAfterLineComment": true, |
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], |
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
|
|
|
|
"requireSpacesInConditionalExpression": true, |
|
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, |
|
|
|