1
by Philip Chimento
Initial commit |
1 |
{
|
2 |
"disallowEmptyBlocks": true,
|
|
3 |
"disallowMixedSpacesAndTabs": true,
|
|
4 |
"disallowSpaceAfterObjectKeys": true,
|
|
5 |
"disallowSpaceAfterPrefixUnaryOperators": ["!", "~", "++", "--", "+", "-"],
|
|
6 |
"disallowSpaceBeforeBinaryOperators": [","],
|
|
7 |
"disallowSpacesInNamedFunctionExpression": {
|
|
8 |
"beforeOpeningRoundBrace": true
|
|
9 |
},
|
|
10 |
"disallowSpacesInsideParentheses": true,
|
|
11 |
"disallowTrailingWhitespace": true,
|
|
12 |
"disallowPaddingNewlinesInBlocks": true,
|
|
13 |
"requireCapitalizedConstructors": true,
|
|
14 |
"requireCommaBeforeLineBreak": true,
|
|
15 |
"requireLineFeedAtFileEnd": true,
|
|
16 |
"requireParenthesesAroundIIFE": true,
|
|
17 |
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
18 |
"requireSpaceAfterKeywords": [
|
|
19 |
"if",
|
|
20 |
"else",
|
|
21 |
"for",
|
|
22 |
"while",
|
|
23 |
"do",
|
|
24 |
"switch",
|
|
25 |
"return",
|
|
26 |
"try",
|
|
27 |
"catch",
|
|
28 |
"function"
|
|
29 |
],
|
|
30 |
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
31 |
"requireSpaceBeforeBlockStatements": true,
|
|
32 |
"requireSpacesInAnonymousFunctionExpression": {
|
|
33 |
"beforeOpeningRoundBrace": true,
|
|
34 |
"beforeOpeningCurlyBrace": true
|
|
35 |
},
|
|
36 |
"requireSpacesInFunctionDeclaration": {
|
|
37 |
"beforeOpeningCurlyBrace": true
|
|
38 |
},
|
|
39 |
"validateIndentation": 4,
|
|
40 |
"validateLineBreaks": "LF"
|
|
41 |
}
|