12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- {
- "disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"],
- "disallowKeywords": ["with"],
- "disallowMixedSpacesAndTabs": true,
- "disallowMultipleLineBreaks": true,
- "disallowOperatorBeforeLineBreak": ["."],
- "disallowSpaceAfterKeywords": [
- "void"//,
- //"typeof"
- ],
- "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
- "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
- "disallowSpacesInCallExpression": true,
- "disallowSpacesInNamedFunctionExpression": {
- "beforeOpeningRoundBrace": true},
- "disallowTrailingComma": true,
- "disallowTrailingWhitespace": true,
- "maximumLineLength": 160,
- "requireCommaBeforeLineBreak": true,
- "requireCurlyBraces": [ "if",
- "else",
- "for",
- "while",
- "do",
- "try",
- "catch"],
- "requireOperatorBeforeLineBreak": [ "?",
- "=",
- "+",
- "-",
- "/",
- "*",
- "==",
- "===",
- "!=",
- "!==",
- ">",
- ">=",
- "<",
- "<="],
- "requireSpaceAfterBinaryOperators": true,
- "requireSpaceAfterKeywords": [
- "else",
- "case",
- "try",
- "typeof",
- "return",
- "if",
- "for",
- "while",
- "do"
- ],
- "requireSpaceBeforeBlockStatements": true,
- "requireSpaceBeforeBinaryOperators": [
- "=",
- "+",
- "-",
- "/",
- "*",
- "==",
- "===",
- "!=",
- "!=="
- ],
- "requireSpaceBeforeBlockStatements": true,
- "requireSpaceBetweenArguments": true,
- "requireSpacesInConditionalExpression": true,
- "requireSpacesInForStatement": true,
- "requireSpacesInNamedFunctionExpression": {
- "beforeOpeningCurlyBrace": true
- },
- "validateIndentation": 4
- }
|