1 |
3a515b92
|
cagy
|
{
|
2 |
|
|
"disallowKeywordsOnNewLine": [ "else" ],
|
3 |
|
|
"disallowMixedSpacesAndTabs": true,
|
4 |
|
|
"disallowMultipleLineStrings": true,
|
5 |
|
|
"disallowMultipleVarDecl": true,
|
6 |
|
|
"disallowNewlineBeforeBlockStatements": true,
|
7 |
|
|
"disallowQuotedKeysInObjects": true,
|
8 |
|
|
"disallowSpaceAfterObjectKeys": true,
|
9 |
|
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
10 |
|
|
"disallowSpaceBeforePostfixUnaryOperators": true,
|
11 |
|
|
"disallowSpacesInCallExpression": true,
|
12 |
|
|
"disallowTrailingComma": true,
|
13 |
|
|
"disallowTrailingWhitespace": true,
|
14 |
|
|
"disallowYodaConditions": true,
|
15 |
|
|
|
16 |
|
|
"requireCommaBeforeLineBreak": true,
|
17 |
|
|
"requireOperatorBeforeLineBreak": true,
|
18 |
|
|
"requireSpaceAfterBinaryOperators": true,
|
19 |
|
|
"requireSpaceAfterKeywords": [ "if", "for", "while", "else", "try", "catch" ],
|
20 |
|
|
"requireSpaceAfterLineComment": true,
|
21 |
|
|
"requireSpaceBeforeBinaryOperators": true,
|
22 |
|
|
"requireSpaceBeforeBlockStatements": true,
|
23 |
|
|
"requireSpaceBeforeKeywords": [ "else", "catch" ],
|
24 |
|
|
"requireSpaceBeforeObjectValues": true,
|
25 |
|
|
"requireSpaceBetweenArguments": true,
|
26 |
|
|
"requireSpacesInAnonymousFunctionExpression": {
|
27 |
|
|
"beforeOpeningCurlyBrace": true
|
28 |
|
|
},
|
29 |
|
|
"requireSpacesInFunctionDeclaration": {
|
30 |
|
|
"beforeOpeningCurlyBrace": true
|
31 |
|
|
},
|
32 |
|
|
"requireSpacesInFunctionExpression": {
|
33 |
|
|
"beforeOpeningCurlyBrace": true
|
34 |
|
|
},
|
35 |
|
|
"requireSpacesInConditionalExpression": true,
|
36 |
|
|
"requireSpacesInForStatement": true,
|
37 |
|
|
"requireSpacesInsideArrayBrackets": "all",
|
38 |
|
|
"requireSpacesInsideObjectBrackets": "all",
|
39 |
|
|
"requireDotNotation": true,
|
40 |
|
|
|
41 |
|
|
"maximumLineLength": 80,
|
42 |
|
|
"validateIndentation": 2,
|
43 |
|
|
"validateLineBreaks": "LF",
|
44 |
|
|
"validateParameterSeparator": ", ",
|
45 |
|
|
"validateQuoteMarks": "'"
|
46 |
|
|
}
|