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