1{
2  "maxErrors": "2000",
3  "maximumLineLength": {
4    "value": 180,
5    "allExcept": ["comments", "functionSignature", "regex"]
6  },
7  "requireCurlyBraces": [
8    "if",
9    "else",
10    "for",
11    "while",
12    "do",
13    "try",
14    "catch"
15  ],
16  "requireOperatorBeforeLineBreak": [
17    "=",
18    "+",
19    "-",
20    "/",
21    "*",
22    "==",
23    "===",
24    "!=",
25    "!==",
26    ">",
27    ">=",
28    "<",
29    "<="
30  ],
31  "requireSpaceAfterKeywords": [
32    "if",
33    "else",
34    "for",
35    "while",
36    "do",
37    "switch",
38    "return",
39    "try",
40    "catch"
41  ],
42  "requireSpaceBeforeBinaryOperators": [
43    "=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
44    "&=", "|=", "^=",
45
46    "+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
47    "|", "^", "&&", "||", "===", "==", ">=",
48    "<=", "<", ">", "!=", "!=="
49  ],
50  "requireSpacesInFunctionExpression": {
51    "beforeOpeningCurlyBrace": true
52  },
53  "requireCamelCaseOrUpperCaseIdentifiers": true,
54  "requireDotNotation": { "allExcept": ["keywords"] },
55  "requireEarlyReturn": true,
56  "requireLineFeedAtFileEnd": true,
57  "requireSemicolons": true,
58  "requireSpaceAfterBinaryOperators": true,
59  "requireSpacesInConditionalExpression": true,
60  "requireSpaceBeforeObjectValues": true,
61  "requireSpaceBeforeBlockStatements": true,
62  "requireSpacesInForStatement": true,
63
64  "validateIndentation": 2,
65  "validateParameterSeparator": ", ",
66  "validateQuoteMarks": { "mark": "'", "escape": true },
67
68  "disallowSpacesInAnonymousFunctionExpression": {
69    "beforeOpeningRoundBrace": true
70  },
71  "disallowSpacesInFunctionDeclaration": {
72    "beforeOpeningRoundBrace": true
73  },
74  "disallowSpacesInFunctionExpression": {
75    "beforeOpeningRoundBrace": true
76  },
77  "disallowKeywords": ["with"],
78  "disallowMixedSpacesAndTabs": true,
79  "disallowMultipleLineBreaks": true,
80  "disallowNewlineBeforeBlockStatements": true,
81  "disallowSpaceAfterObjectKeys": true,
82  "disallowSpaceAfterPrefixUnaryOperators": true,
83  "disallowSpacesInCallExpression": true,
84  "disallowSpacesInsideArrayBrackets": true,
85  "disallowSpacesInsideParentheses": true,
86  "disallowTrailingWhitespace": true,
87  "disallowUnusedVariables": true,
88
89  "jsDoc": {
90    "checkRedundantAccess": true,
91    "checkTypes": true,
92    "requireNewlineAfterDescription": true,
93    "requireParamDescription": true,
94    "requireParamTypes": true,
95    "requireReturnTypes": true
96  }
97}
98