1 | {
|
2 | "indent": {
|
3 | "value": " ",
|
4 | "ArrayExpression": 1,
|
5 | "AssignmentExpression": 1,
|
6 | "BinaryExpression": 1,
|
7 | "ConditionalExpression": 1,
|
8 | "CallExpression": 0,
|
9 | "CatchClause": 1,
|
10 | "ConditionalExpression": 1,
|
11 | "DoWhileStatement": 1,
|
12 | "ForInStatement": 1,
|
13 | "ForStatement": 1,
|
14 | "FunctionDeclaration": 1,
|
15 | "FunctionExpression": 1,
|
16 | "IfStatement": 1,
|
17 | "MemberExpression": 1,
|
18 | "MultipleVariableDeclaration": 1,
|
19 | "ObjectExpression": 1,
|
20 | "ReturnStatement": 0,
|
21 | "SwitchCase": 1,
|
22 | "SwitchStatement": 1,
|
23 | "TopLevelFunctionBlock": 1,
|
24 | "TryStatement": 1,
|
25 | "WhileStatement": 1
|
26 | },
|
27 |
|
28 |
|
29 | "lineBreak": {
|
30 | "value": "\n",
|
31 |
|
32 | "before": {
|
33 | "AssignmentExpression": ">=1",
|
34 | "AssignmentOperator": 0,
|
35 | "BlockStatement": 0,
|
36 | "CallExpression": "-1",
|
37 | "ConditionalExpression": ">=1",
|
38 | "CatchOpeningBrace": 0,
|
39 | "CatchClosingBrace": ">=1",
|
40 | "CatchKeyword": 0,
|
41 | "DeleteOperator": ">=1",
|
42 | "DoWhileStatement": ">=1",
|
43 | "DoWhileStatementOpeningBrace": 0,
|
44 | "DoWhileStatementClosingBrace": ">=1",
|
45 | "EndOfFile": 1,
|
46 | "EmptyStatement": -1,
|
47 | "FinallyOpeningBrace": 0,
|
48 | "FinallyClosingBrace": ">=1",
|
49 | "ForInStatement": ">=1",
|
50 | "ForInStatementExpressionOpening": 0,
|
51 | "ForInStatementExpressionClosing": 0,
|
52 | "ForInStatementOpeningBrace": 0,
|
53 | "ForInStatementClosingBrace": ">=1",
|
54 | "ForStatement": ">=1",
|
55 | "ForStatementExpressionOpening": 0,
|
56 | "ForStatementExpressionClosing": "<2",
|
57 | "ForStatementOpeningBrace": 0,
|
58 | "ForStatementClosingBrace": ">=1",
|
59 | "FunctionExpression": 0,
|
60 | "FunctionExpressionOpeningBrace": 0,
|
61 | "FunctionExpressionClosingBrace": ">=1",
|
62 | "FunctionDeclaration": ">=1",
|
63 | "FunctionDeclarationOpeningBrace": 0,
|
64 | "FunctionDeclarationClosingBrace": ">=1",
|
65 | "IfStatement": ">=1",
|
66 | "IfStatementOpeningBrace": 0,
|
67 | "IfStatementClosingBrace": ">=1",
|
68 | "ElseIfStatement": 0,
|
69 | "ElseIfStatementOpeningBrace": 0,
|
70 | "ElseIfStatementClosingBrace": ">=1",
|
71 | "ElseStatement": 0,
|
72 | "ElseStatementOpeningBrace": 0,
|
73 | "ElseStatementClosingBrace": ">=1",
|
74 | "LogicalExpression": -1,
|
75 | "ObjectExpressionClosingBrace": ">=1",
|
76 | "Property": ">=1",
|
77 | "ReturnStatement": -1,
|
78 | "SwitchOpeningBrace": 0,
|
79 | "SwitchClosingBrace": ">=1",
|
80 | "ThisExpression": -1,
|
81 | "ThrowStatement": ">=1",
|
82 | "TryOpeningBrace": 0,
|
83 | "TryClosingBrace": ">=1",
|
84 | "VariableName": ">=1",
|
85 | "VariableValue": 0,
|
86 | "VariableDeclaration": ">=1",
|
87 | "VariableDeclarationWithoutInit": ">=1",
|
88 | "WhileStatement": ">=1",
|
89 | "WhileStatementOpeningBrace": 0,
|
90 | "WhileStatementClosingBrace": ">=1"
|
91 | },
|
92 |
|
93 | "after": {
|
94 | "AssignmentExpression": ">=1",
|
95 | "AssignmentOperator": 0,
|
96 | "BlockStatement": 0,
|
97 | "CallExpression": -1,
|
98 | "CatchOpeningBrace": ">=1",
|
99 | "CatchClosingBrace": ">=0",
|
100 | "CatchKeyword": 0,
|
101 | "ConditionalExpression": ">=1",
|
102 | "DeleteOperator": ">=1",
|
103 | "DoWhileStatement": ">=1",
|
104 | "DoWhileStatementOpeningBrace": ">=1",
|
105 | "DoWhileStatementClosingBrace": 0,
|
106 | "EmptyStatement": -1,
|
107 | "FinallyOpeningBrace": ">=1",
|
108 | "FinallyClosingBrace": ">=1",
|
109 | "ForInStatement": ">=1",
|
110 | "ForInStatementExpressionOpening": "<2",
|
111 | "ForInStatementExpressionClosing": -1,
|
112 | "ForInStatementOpeningBrace": ">=1",
|
113 | "ForInStatementClosingBrace": ">=1",
|
114 | "ForStatement": ">=1",
|
115 | "ForStatementExpressionOpening": "<2",
|
116 | "ForStatementExpressionClosing": -1,
|
117 | "ForStatementOpeningBrace": ">=1",
|
118 | "ForStatementClosingBrace": ">=1",
|
119 | "FunctionExpression": ">=1",
|
120 | "FunctionExpressionOpeningBrace": ">=1",
|
121 | "FunctionExpressionClosingBrace": -1,
|
122 | "FunctionDeclaration": ">=1",
|
123 | "FunctionDeclarationOpeningBrace": ">=1",
|
124 | "FunctionDeclarationClosingBrace": ">=1",
|
125 | "IfStatement": ">=1",
|
126 | "IfStatementOpeningBrace": ">=1",
|
127 | "IfStatementClosingBrace": ">=1",
|
128 | "ElseIfStatement": ">=1",
|
129 | "ElseIfStatementOpeningBrace": ">=1",
|
130 | "ElseIfStatementClosingBrace": ">=1",
|
131 | "ElseStatement": ">=1",
|
132 | "ElseStatementOpeningBrace": ">=1",
|
133 | "ElseStatementClosingBrace": ">=1",
|
134 | "LogicalExpression": -1,
|
135 | "MemberExpression": 3,
|
136 | "ObjectExpressionOpeningBrace": ">=1",
|
137 | "Property": 0,
|
138 | "ReturnStatement": -1,
|
139 | "SwitchOpeningBrace": ">=1",
|
140 | "SwitchClosingBrace": ">=1",
|
141 | "ThisExpression": 0,
|
142 | "ThrowStatement": ">=1",
|
143 | "TryOpeningBrace": ">=1",
|
144 | "TryClosingBrace": 1,
|
145 | "VariableDeclaration": ">=1",
|
146 | "WhileStatement": ">=1",
|
147 | "WhileStatementOpeningBrace": ">=1",
|
148 | "WhileStatementClosingBrace": ">=1"
|
149 | }
|
150 | },
|
151 |
|
152 |
|
153 | "whiteSpace": {
|
154 | "value": " ",
|
155 | "removeTrailing": 1,
|
156 |
|
157 | "before": {
|
158 | "ArrayExpressionOpening": 0,
|
159 | "ArrayExpressionClosing": 0,
|
160 | "ArrayExpressionComma": 0,
|
161 | "ArgumentComma": 0,
|
162 | "ArgumentList": 0,
|
163 | "ArgumentListArrayExpression": 0,
|
164 | "ArgumentListFunctionExpression": 0,
|
165 | "ArgumentListObjectExpression": 0,
|
166 | "AssignmentOperator": 1,
|
167 | "BinaryExpression": 0,
|
168 | "BinaryExpressionOperator": 1,
|
169 | "BlockComment": 1,
|
170 | "CallExpression": -1,
|
171 | "CatchParameterList": 0,
|
172 | "CatchOpeningBrace": 1,
|
173 | "CatchClosingBrace": 1,
|
174 | "CatchKeyword": 1,
|
175 | "CommaOperator": 0,
|
176 | "ConditionalExpressionConsequent": 1,
|
177 | "ConditionalExpressionAlternate": 1,
|
178 | "DoWhileStatementOpeningBrace": 1,
|
179 | "DoWhileStatementClosingBrace": 1,
|
180 | "DoWhileStatementConditional": 1,
|
181 | "EmptyStatement": 0,
|
182 | "ExpressionClosingParentheses": 0,
|
183 | "FinallyOpeningBrace": 1,
|
184 | "FinallyClosingBrace": 1,
|
185 | "ForInStatement": 1,
|
186 | "ForInStatementExpressionOpening": 1,
|
187 | "ForInStatementExpressionClosing": 0,
|
188 | "ForInStatementOpeningBrace": 1,
|
189 | "ForInStatementClosingBrace": 1,
|
190 | "ForStatement": 1,
|
191 | "ForStatementExpressionOpening": 1,
|
192 | "ForStatementExpressionClosing": 0,
|
193 | "ForStatementOpeningBrace": 1,
|
194 | "ForStatementClosingBrace": 1,
|
195 | "ForStatementSemicolon": 0,
|
196 | "FunctionDeclarationOpeningBrace": 1,
|
197 | "FunctionDeclarationClosingBrace": 1,
|
198 | "FunctionExpressionOpeningBrace": 1,
|
199 | "FunctionExpressionClosingBrace": 1,
|
200 | "IfStatementConditionalOpening": 1,
|
201 | "IfStatementConditionalClosing": 0,
|
202 | "IfStatementOpeningBrace": 1,
|
203 | "IfStatementClosingBrace": 1,
|
204 | "ElseStatementOpeningBrace": 1,
|
205 | "ElseStatementClosingBrace": 1,
|
206 | "ElseIfStatementOpeningBrace": 1,
|
207 | "ElseIfStatementClosingBrace": 1,
|
208 | "MemberExpressionClosing": 0,
|
209 | "LineComment": 1,
|
210 | "LogicalExpressionOperator": 1,
|
211 | "Property": 1,
|
212 | "PropertyValue": 1,
|
213 | "ParameterComma": 0,
|
214 | "ParameterList": 0,
|
215 | "SwitchDiscriminantOpening": 1,
|
216 | "SwitchDiscriminantClosing": 0,
|
217 | "ThrowKeyword": 1,
|
218 | "TryOpeningBrace": 1,
|
219 | "TryClosingBrace": 1,
|
220 | "UnaryExpressionOperator": 0,
|
221 | "VariableName": 1,
|
222 | "VariableValue": 1,
|
223 | "WhileStatementConditionalOpening": 1,
|
224 | "WhileStatementConditionalClosing": 0,
|
225 | "WhileStatementOpeningBrace": 1,
|
226 | "WhileStatementClosingBrace": 1
|
227 | },
|
228 |
|
229 | "after": {
|
230 | "ArrayExpressionOpening": 0,
|
231 | "ArrayExpressionClosing": 0,
|
232 | "ArrayExpressionComma": 1,
|
233 | "ArgumentComma": 1,
|
234 | "ArgumentList": 0,
|
235 | "ArgumentListArrayExpression": 0,
|
236 | "ArgumentListFunctionExpression": 0,
|
237 | "ArgumentListObjectExpression": 0,
|
238 | "AssignmentOperator": 1,
|
239 | "BinaryExpression": 0,
|
240 | "BinaryExpressionOperator": 1,
|
241 | "BlockComment": 1,
|
242 | "CallExpression": 0,
|
243 | "CatchParameterList": 0,
|
244 | "CatchOpeningBrace": 1,
|
245 | "CatchClosingBrace": 1,
|
246 | "CatchKeyword": 1,
|
247 | "CommaOperator": 1,
|
248 | "ConditionalExpressionConsequent": 1,
|
249 | "ConditionalExpressionTest": 1,
|
250 | "DoWhileStatementOpeningBrace": 1,
|
251 | "DoWhileStatementClosingBrace": 1,
|
252 | "DoWhileStatementBody": 1,
|
253 | "EmptyStatement": 0,
|
254 | "ExpressionOpeningParentheses": 0,
|
255 | "FinallyOpeningBrace": 1,
|
256 | "FinallyClosingBrace": 1,
|
257 | "ForInStatement": 1,
|
258 | "ForInStatementExpressionOpening": 0,
|
259 | "ForInStatementExpressionClosing": 1,
|
260 | "ForInStatementOpeningBrace": 1,
|
261 | "ForInStatementClosingBrace": 1,
|
262 | "ForStatement": 1,
|
263 | "ForStatementExpressionOpening": 0,
|
264 | "ForStatementExpressionClosing": 1,
|
265 | "ForStatementClosingBrace": 1,
|
266 | "ForStatementOpeningBrace": 1,
|
267 | "ForStatementSemicolon": 1,
|
268 | "FunctionReservedWord": 0,
|
269 | "FunctionName": 0,
|
270 | "FunctionExpressionOpeningBrace": 1,
|
271 | "FunctionExpressionClosingBrace": 0,
|
272 | "FunctionDeclarationOpeningBrace": 1,
|
273 | "FunctionDeclarationClosingBrace": 1,
|
274 | "IfStatementConditionalOpening": 0,
|
275 | "IfStatementConditionalClosing": 1,
|
276 | "IfStatementOpeningBrace": 1,
|
277 | "IfStatementClosingBrace": 1,
|
278 | "ElseStatementOpeningBrace": 1,
|
279 | "ElseStatementClosingBrace": 1,
|
280 | "ElseIfStatementOpeningBrace": 1,
|
281 | "ElseIfStatementClosingBrace": 1,
|
282 | "MemberExpressionOpening": 0,
|
283 | "LogicalExpressionOperator": 1,
|
284 | "ObjectExpressionClosingBrace": 0,
|
285 | "PropertyName": 0,
|
286 | "PropertyValue": 0,
|
287 | "ParameterComma": 1,
|
288 | "ParameterList": 0,
|
289 | "SwitchDiscriminantOpening": 0,
|
290 | "SwitchDiscriminantClosing": 1,
|
291 | "ThrowKeyword": 1,
|
292 | "TryOpeningBrace": 1,
|
293 | "TryClosingBrace": 1,
|
294 | "UnaryExpressionOperator": 0,
|
295 | "VariableName": 1,
|
296 | "WhileStatementConditionalOpening": 0,
|
297 | "WhileStatementConditionalClosing": 1,
|
298 | "WhileStatementOpeningBrace": 1,
|
299 | "WhileStatementClosingBrace": 1
|
300 | }
|
301 | },
|
302 |
|
303 | "plugins": [
|
304 | "esformatter-quotes",
|
305 | "esformatter-braces"
|
306 | ],
|
307 | "quotes": {
|
308 | "type": "single",
|
309 | "avoidEscape": false
|
310 | }
|
311 | } |
\ | No newline at end of file |