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