source: trip-planner-front/node_modules/define-properties/.jscs.json@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.0 KB
Line 
1{
2 "es3": true,
3
4 "additionalRules": [],
5
6 "requireSemicolons": true,
7
8 "disallowMultipleSpaces": true,
9
10 "disallowIdentifierNames": [],
11
12 "requireCurlyBraces": {
13 "allExcept": [],
14 "keywords": ["if", "else", "for", "while", "do", "try", "catch"]
15 },
16
17 "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
18
19 "disallowSpaceAfterKeywords": [],
20
21 "disallowSpaceBeforeComma": true,
22 "disallowSpaceAfterComma": false,
23 "disallowSpaceBeforeSemicolon": true,
24
25 "disallowNodeTypes": [
26 "DebuggerStatement",
27 "LabeledStatement",
28 "SwitchCase",
29 "SwitchStatement",
30 "WithStatement"
31 ],
32
33 "requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },
34
35 "requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
36 "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
37 "disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
38 "requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
39 "disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
40
41 "requireSpaceBetweenArguments": true,
42
43 "disallowSpacesInsideParentheses": true,
44
45 "disallowSpacesInsideArrayBrackets": true,
46
47 "disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },
48
49 "disallowSpaceAfterObjectKeys": true,
50
51 "requireCommaBeforeLineBreak": true,
52
53 "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
54 "requireSpaceAfterPrefixUnaryOperators": [],
55
56 "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
57 "requireSpaceBeforePostfixUnaryOperators": [],
58
59 "disallowSpaceBeforeBinaryOperators": [],
60 "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
61
62 "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
63 "disallowSpaceAfterBinaryOperators": [],
64
65 "disallowImplicitTypeConversion": ["binary", "string"],
66
67 "disallowKeywords": ["with", "eval"],
68
69 "requireKeywordsOnNewLine": [],
70 "disallowKeywordsOnNewLine": ["else"],
71
72 "requireLineFeedAtFileEnd": true,
73
74 "disallowTrailingWhitespace": true,
75
76 "disallowTrailingComma": true,
77
78 "excludeFiles": ["node_modules/**", "vendor/**"],
79
80 "disallowMultipleLineStrings": true,
81
82 "requireDotNotation": { "allExcept": ["keywords"] },
83
84 "requireParenthesesAroundIIFE": true,
85
86 "validateLineBreaks": "LF",
87
88 "validateQuoteMarks": {
89 "escape": true,
90 "mark": "'"
91 },
92
93 "disallowOperatorBeforeLineBreak": [],
94
95 "requireSpaceBeforeKeywords": [
96 "do",
97 "for",
98 "if",
99 "else",
100 "switch",
101 "case",
102 "try",
103 "catch",
104 "finally",
105 "while",
106 "with",
107 "return"
108 ],
109
110 "validateAlignedFunctionParameters": {
111 "lineBreakAfterOpeningBraces": true,
112 "lineBreakBeforeClosingBraces": true
113 },
114
115 "requirePaddingNewLinesBeforeExport": true,
116
117 "validateNewlineAfterArrayElements": {
118 "maximum": 3
119 },
120
121 "requirePaddingNewLinesAfterUseStrict": true,
122
123 "disallowArrowFunctions": true,
124
125 "disallowMultiLineTernary": true,
126
127 "validateOrderInObjectKeys": "asc-insensitive",
128
129 "disallowIdenticalDestructuringNames": true,
130
131 "disallowNestedTernaries": { "maxLevel": 1 },
132
133 "requireSpaceAfterComma": { "allExcept": ["trailing"] },
134 "requireAlignedMultilineParams": false,
135
136 "requireSpacesInGenerator": {
137 "afterStar": true
138 },
139
140 "disallowSpacesInGenerator": {
141 "beforeStar": true
142 },
143
144 "disallowVar": false,
145
146 "requireArrayDestructuring": false,
147
148 "requireEnhancedObjectLiterals": false,
149
150 "requireObjectDestructuring": false,
151
152 "requireEarlyReturn": false,
153
154 "requireCapitalizedConstructorsNew": {
155 "allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
156 },
157
158 "requireImportAlphabetized": false,
159
160 "requireSpaceBeforeObjectValues": true,
161 "requireSpaceBeforeDestructuredValues": true,
162
163 "disallowSpacesInsideTemplateStringPlaceholders": true,
164
165 "disallowArrayDestructuringReturn": false,
166
167 "requireNewlineBeforeSingleStatementsInIf": false,
168
169 "disallowUnusedVariables": true,
170
171 "requireSpacesInsideImportedObjectBraces": true,
172
173 "requireUseStrict": true
174}
175
Note: See TracBrowser for help on using the repository browser.