UNPKG

2.12 kBPlain TextView Raw
1{
2 "requireCurlyBraces": [
3 "if",
4 "else",
5 "for",
6 "while",
7 "do",
8 "try",
9 "catch",
10 "finally",
11 "with"
12 ],
13 "requireSpaceAfterKeywords": true,
14 "requireSpaceBeforeBlockStatements": true,
15 "requireSpacesInConditionalExpression": true,
16 "requireSpacesInFunctionExpression": {
17 "beforeOpeningRoundBrace": true,
18 "beforeOpeningCurlyBrace": true
19 },
20 "requireSpacesInFunctionDeclaration": {
21 "beforeOpeningCurlyBrace": true
22 },
23 "disallowSpacesInFunctionDeclaration": {
24 "beforeOpeningRoundBrace": true
25 },
26 "disallowSpacesInCallExpression": true,
27 "disallowMultipleVarDecl": {
28 "allExcept": ["undefined"]
29 },
30 "requireBlocksOnNewline": 1,
31 "disallowPaddingNewlinesInBlocks": true,
32 "disallowSpacesInsideObjectBrackets": "all",
33 "disallowSpacesInsideArrayBrackets": "all",
34 "disallowSpacesInsideParentheses": true,
35 "disallowQuotedKeysInObjects": "allButReserved",
36 "disallowSpaceAfterObjectKeys": true,
37 "requireSpaceBeforeObjectValues": true,
38 "requireCommaBeforeLineBreak": true,
39 "requireOperatorBeforeLineBreak": true,
40 "disallowSpaceAfterPrefixUnaryOperators": true,
41 "disallowSpaceBeforePostfixUnaryOperators": true,
42 "requireSpaceBeforeBinaryOperators": true,
43 "requireSpaceAfterBinaryOperators": true,
44 "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
45 "disallowKeywords": [
46 "with"
47 ],
48 "disallowMultipleLineStrings": true,
49 "disallowMultipleLineBreaks": true,
50 "disallowMixedSpacesAndTabs": true,
51 "disallowTrailingWhitespace": true,
52 "disallowTrailingComma": true,
53 "disallowKeywordsOnNewLine": [
54 "else",
55 "catch",
56 "finally"
57 ],
58 "requireLineFeedAtFileEnd": true,
59 "maximumLineLength": {
60 "value": 120,
61 "allowUrlComments": true
62 },
63 "requireDotNotation": true,
64 "disallowYodaConditions": true,
65 "requireSpaceAfterLineComment": true,
66 "disallowNewlineBeforeBlockStatements": true,
67 "validateLineBreaks": "LF",
68 "validateQuoteMarks": {
69 "mark": "'",
70 "escape": true
71 },
72 "validateIndentation": 2,
73 "validateParameterSeparator": ", ",
74 "safeContextKeyword": [
75 "that"
76 ]
77}