1 | {
|
2 | "disallowKeywords": ["with"],
|
3 | "disallowKeywordsOnNewLine": ["else"],
|
4 | "disallowMixedSpacesAndTabs": true,
|
5 | "disallowMultipleVarDecl": "exceptUndefined",
|
6 | "disallowNewlineBeforeBlockStatements": true,
|
7 | "disallowQuotedKeysInObjects": true,
|
8 | "disallowSpaceAfterObjectKeys": true,
|
9 | "disallowSpaceAfterPrefixUnaryOperators": true,
|
10 | "disallowSpacesInFunction": {
|
11 | "beforeOpeningRoundBrace": true
|
12 | },
|
13 | "disallowSpacesInsideParentheses": true,
|
14 | "disallowTrailingWhitespace": true,
|
15 | "maximumLineLength": 80,
|
16 | "requireCamelCaseOrUpperCaseIdentifiers": true,
|
17 | "requireCapitalizedComments": true,
|
18 | "requireCapitalizedConstructors": true,
|
19 | "requireCurlyBraces": true,
|
20 | "requireSpaceAfterKeywords": [
|
21 | "if",
|
22 | "else",
|
23 | "for",
|
24 | "while",
|
25 | "do",
|
26 | "switch",
|
27 | "case",
|
28 | "return",
|
29 | "try",
|
30 | "catch",
|
31 | "typeof"
|
32 | ],
|
33 | "requireSpaceAfterLineComment": true,
|
34 | "requireSpaceAfterBinaryOperators": true,
|
35 | "requireSpaceBeforeBinaryOperators": true,
|
36 | "requireSpaceBeforeBlockStatements": true,
|
37 | "requireSpaceBeforeObjectValues": true,
|
38 | "requireSpacesInFunction": {
|
39 | "beforeOpeningCurlyBrace": true
|
40 | },
|
41 | "requireTrailingComma": {
|
42 | "ignoreSingleLine": true
|
43 | },
|
44 | "validateIndentation": 2,
|
45 | "validateLineBreaks": "LF",
|
46 | "validateQuoteMarks": "'"
|
47 | }
|