1{
2    "copyright": [
3        "Copyright (c) 2023-2024 Huawei Device Co., Ltd.",
4        "Licensed under the Apache License, Version 2.0 (the 'License');",
5        "you may not use this file except in compliance with the License.",
6        "You may obtain a copy of the License at",
7        "",
8        "http://www.apache.org/licenses/LICENSE-2.0",
9        "",
10        "Unless required by applicable law or agreed to in writing, software",
11        "distributed under the License is distributed on an 'AS IS' BASIS,",
12        "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
13        "See the License for the specific language governing permissions and",
14        "limitations under the License."
15    ],
16    "nodes": [
17        {
18            "line": 18,
19            "column": 1,
20            "problem": "VarDeclaration",
21            "suggest": "",
22            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
23        },
24        {
25            "line": 22,
26            "column": 1,
27            "problem": "VarDeclaration",
28            "suggest": "",
29            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
30        },
31        {
32            "line": 26,
33            "column": 1,
34            "problem": "VarDeclaration",
35            "suggest": "",
36            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
37        },
38        {
39            "line": 29,
40            "column": 6,
41            "problem": "VarDeclaration",
42            "suggest": "",
43            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
44        },
45        {
46            "line": 32,
47            "column": 13,
48            "problem": "ForInStatement",
49            "suggest": "",
50            "rule": "\"for .. in\" is not supported (arkts-no-for-in)"
51        },
52        {
53            "line": 32,
54            "column": 6,
55            "problem": "VarDeclaration",
56            "suggest": "",
57            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
58        },
59        {
60            "line": 35,
61            "column": 22,
62            "problem": "VarDeclaration",
63            "suggest": "",
64            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
65        },
66        {
67            "line": 38,
68            "column": 6,
69            "problem": "VarDeclaration",
70            "suggest": "",
71            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
72        },
73        {
74            "line": 40,
75            "column": 1,
76            "problem": "VarDeclaration",
77            "suggest": "",
78            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
79        },
80        {
81            "line": 40,
82            "column": 5,
83            "problem": "DestructuringDeclaration",
84            "suggest": "",
85            "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)"
86        },
87        {
88            "line": 40,
89            "column": 21,
90            "problem": "ObjectLiteralNoContextType",
91            "suggest": "",
92            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
93        },
94        {
95            "line": 42,
96            "column": 1,
97            "problem": "VarDeclaration",
98            "suggest": "",
99            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
100        },
101        {
102            "line": 42,
103            "column": 14,
104            "problem": "VarDeclaration",
105            "suggest": "",
106            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
107        },
108        {
109            "line": 44,
110            "column": 1,
111            "problem": "VarDeclaration",
112            "suggest": "",
113            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
114        },
115        {
116            "line": 46,
117            "column": 9,
118            "problem": "VarDeclaration",
119            "suggest": "",
120            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
121        },
122        {
123            "line": 49,
124            "column": 1,
125            "problem": "VarDeclaration",
126            "suggest": "",
127            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
128        },
129        {
130            "line": 49,
131            "column": 12,
132            "problem": "FunctionExpression",
133            "suggest": "",
134            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
135        },
136        {
137            "line": 49,
138            "column": 12,
139            "problem": "LimitedReturnTypeInference",
140            "suggest": "",
141            "rule": "Function return type inference is limited (arkts-no-implicit-return-types)"
142        },
143        {
144            "line": 51,
145            "column": 1,
146            "problem": "VarDeclaration",
147            "suggest": "",
148            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
149        },
150        {
151            "line": 51,
152            "column": 13,
153            "problem": "FunctionExpression",
154            "suggest": "",
155            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
156        },
157        {
158            "line": 53,
159            "column": 1,
160            "problem": "VarDeclaration",
161            "suggest": "",
162            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
163        },
164        {
165            "line": 53,
166            "column": 13,
167            "problem": "LimitedReturnTypeInference",
168            "suggest": "",
169            "rule": "Function return type inference is limited (arkts-no-implicit-return-types)"
170        },
171        {
172            "line": 56,
173            "column": 1,
174            "problem": "VarDeclaration",
175            "suggest": "",
176            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
177        },
178        {
179            "line": 56,
180            "column": 20,
181            "problem": "VarDeclaration",
182            "suggest": "",
183            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
184        },
185        {
186            "line": 56,
187            "column": 32,
188            "problem": "FunctionExpression",
189            "suggest": "",
190            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
191        },
192        {
193            "line": 58,
194            "column": 1,
195            "problem": "VarDeclaration",
196            "suggest": "",
197            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
198        },
199        {
200            "line": 58,
201            "column": 13,
202            "problem": "FunctionExpression",
203            "suggest": "",
204            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
205        },
206        {
207            "line": 58,
208            "column": 39,
209            "problem": "VarDeclaration",
210            "suggest": "",
211            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
212        },
213        {
214            "line": 58,
215            "column": 51,
216            "problem": "FunctionExpression",
217            "suggest": "",
218            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
219        },
220        {
221            "line": 61,
222            "column": 6,
223            "problem": "VarDeclaration",
224            "suggest": "",
225            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
226        },
227        {
228            "line": 63,
229            "column": 1,
230            "problem": "VarDeclaration",
231            "suggest": "",
232            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
233        },
234        {
235            "line": 63,
236            "column": 19,
237            "problem": "VarDeclaration",
238            "suggest": "",
239            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
240        },
241        {
242            "line": 65,
243            "column": 1,
244            "problem": "VarDeclaration",
245            "suggest": "",
246            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
247        },
248        {
249            "line": 65,
250            "column": 5,
251            "problem": "AnyType",
252            "suggest": "",
253            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
254        },
255        {
256            "line": 65,
257            "column": 10,
258            "problem": "AnyType",
259            "suggest": "",
260            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
261        },
262        {
263            "line": 65,
264            "column": 15,
265            "problem": "AnyType",
266            "suggest": "",
267            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
268        },
269        {
270            "line": 65,
271            "column": 20,
272            "problem": "VarDeclaration",
273            "suggest": "",
274            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
275        },
276        {
277            "line": 65,
278            "column": 24,
279            "problem": "AnyType",
280            "suggest": "",
281            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
282        },
283        {
284            "line": 68,
285            "column": 1,
286            "problem": "VarDeclaration",
287            "suggest": "",
288            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
289        },
290        {
291            "line": 68,
292            "column": 5,
293            "problem": "AnyType",
294            "suggest": "",
295            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
296        },
297        {
298            "line": 68,
299            "column": 21,
300            "problem": "VarDeclaration",
301            "suggest": "",
302            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
303        },
304        {
305            "line": 68,
306            "column": 25,
307            "problem": "AnyType",
308            "suggest": "",
309            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
310        },
311        {
312            "line": 71,
313            "column": 14,
314            "problem": "VarDeclaration",
315            "suggest": "",
316            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
317        },
318        {
319            "line": 71,
320            "column": 18,
321            "problem": "AnyType",
322            "suggest": "",
323            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
324        },
325        {
326            "line": 71,
327            "column": 23,
328            "problem": "AnyType",
329            "suggest": "",
330            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
331        },
332        {
333            "line": 71,
334            "column": 28,
335            "problem": "AnyType",
336            "suggest": "",
337            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
338        },
339        {
340            "line": 73,
341            "column": 6,
342            "problem": "VarDeclaration",
343            "suggest": "",
344            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
345        },
346        {
347            "line": 76,
348            "column": 14,
349            "problem": "ForInStatement",
350            "suggest": "",
351            "rule": "\"for .. in\" is not supported (arkts-no-for-in)"
352        },
353        {
354            "line": 76,
355            "column": 6,
356            "problem": "VarDeclaration",
357            "suggest": "",
358            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
359        },
360        {
361            "line": 79,
362            "column": 6,
363            "problem": "VarDeclaration",
364            "suggest": "",
365            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
366        },
367        {
368            "line": 82,
369            "column": 24,
370            "problem": "VarDeclaration",
371            "suggest": "",
372            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
373        },
374        {
375            "line": 86,
376            "column": 6,
377            "problem": "VarDeclaration",
378            "suggest": "",
379            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
380        },
381        {
382            "line": 89,
383            "column": 24,
384            "problem": "VarDeclaration",
385            "suggest": "",
386            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
387        },
388        {
389            "line": 89,
390            "column": 28,
391            "problem": "AnyType",
392            "suggest": "",
393            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
394        },
395        {
396            "line": 91,
397            "column": 1,
398            "problem": "VarDeclaration",
399            "suggest": "",
400            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
401        },
402        {
403            "line": 91,
404            "column": 5,
405            "problem": "AnyType",
406            "suggest": "",
407            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
408        },
409        {
410            "line": 93,
411            "column": 1,
412            "problem": "VarDeclaration",
413            "suggest": "",
414            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
415        },
416        {
417            "line": 93,
418            "column": 5,
419            "problem": "DestructuringDeclaration",
420            "suggest": "",
421            "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)"
422        },
423        {
424            "line": 93,
425            "column": 19,
426            "problem": "ObjectLiteralNoContextType",
427            "suggest": "",
428            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
429        },
430        {
431            "line": 95,
432            "column": 1,
433            "problem": "VarDeclaration",
434            "suggest": "",
435            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
436        },
437        {
438            "line": 95,
439            "column": 5,
440            "problem": "DestructuringDeclaration",
441            "suggest": "",
442            "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)"
443        },
444        {
445            "line": 95,
446            "column": 24,
447            "problem": "ObjectLiteralNoContextType",
448            "suggest": "",
449            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
450        },
451        {
452            "line": 97,
453            "column": 1,
454            "problem": "VarDeclaration",
455            "suggest": "",
456            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
457        },
458        {
459            "line": 99,
460            "column": 26,
461            "problem": "VarDeclaration",
462            "suggest": "",
463            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
464        },
465        {
466            "line": 102,
467            "column": 12,
468            "problem": "VarDeclaration",
469            "suggest": "",
470            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
471        },
472        {
473            "line": 108,
474            "column": 13,
475            "problem": "VarDeclaration",
476            "suggest": "",
477            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
478        },
479        {
480            "line": 110,
481            "column": 20,
482            "problem": "VarDeclaration",
483            "suggest": "",
484            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
485        },
486        {
487            "line": 110,
488            "column": 24,
489            "problem": "AnyType",
490            "suggest": "",
491            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
492        },
493        {
494            "line": 115,
495            "column": 1,
496            "problem": "VarDeclaration",
497            "suggest": "",
498            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
499        },
500        {
501            "line": 115,
502            "column": 14,
503            "problem": "FunctionExpression",
504            "suggest": "",
505            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
506        },
507        {
508            "line": 117,
509            "column": 13,
510            "problem": "FunctionExpression",
511            "suggest": "",
512            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
513        },
514        {
515            "line": 117,
516            "column": 22,
517            "problem": "AnyType",
518            "suggest": "",
519            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
520        },
521        {
522            "line": 118,
523            "column": 1,
524            "problem": "VarDeclaration",
525            "suggest": "",
526            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
527        },
528        {
529            "line": 118,
530            "column": 19,
531            "problem": "FunctionExpression",
532            "suggest": "",
533            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
534        },
535        {
536            "line": 120,
537            "column": 1,
538            "problem": "VarDeclaration",
539            "suggest": "",
540            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
541        },
542        {
543            "line": 120,
544            "column": 28,
545            "problem": "FunctionExpression",
546            "suggest": "",
547            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
548        },
549        {
550            "line": 122,
551            "column": 1,
552            "problem": "VarDeclaration",
553            "suggest": "",
554            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
555        },
556        {
557            "line": 122,
558            "column": 5,
559            "problem": "DestructuringDeclaration",
560            "suggest": "",
561            "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)"
562        },
563        {
564            "line": 122,
565            "column": 25,
566            "problem": "FunctionExpression",
567            "suggest": "",
568            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
569        },
570        {
571            "line": 124,
572            "column": 1,
573            "problem": "VarDeclaration",
574            "suggest": "",
575            "rule": "Use \"let\" instead of \"var\" (arkts-no-var)"
576        },
577        {
578            "line": 124,
579            "column": 5,
580            "problem": "DestructuringDeclaration",
581            "suggest": "",
582            "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)"
583        },
584        {
585            "line": 124,
586            "column": 32,
587            "problem": "FunctionExpression",
588            "suggest": "",
589            "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)"
590        },
591        {
592            "line": 42,
593            "column": 10,
594            "problem": "StrictDiagnostic",
595            "suggest": "Variable 'b9' is used before being assigned.",
596            "rule": "Variable 'b9' is used before being assigned."
597        },
598        {
599            "line": 56,
600            "column": 13,
601            "problem": "StrictDiagnostic",
602            "suggest": "Variable 'foo15' is used before being assigned.",
603            "rule": "Variable 'foo15' is used before being assigned."
604        },
605        {
606            "line": 76,
607            "column": 27,
608            "problem": "StrictDiagnostic",
609            "suggest": "Variable 'a23' is used before being assigned.",
610            "rule": "Variable 'a23' is used before being assigned."
611        },
612        {
613            "line": 79,
614            "column": 28,
615            "problem": "StrictDiagnostic",
616            "suggest": "Variable 'a24' is used before being assigned.",
617            "rule": "Variable 'a24' is used before being assigned."
618        },
619        {
620            "line": 86,
621            "column": 35,
622            "problem": "StrictDiagnostic",
623            "suggest": "Argument of type '() => never' is not assignable to parameter of type 'never'.",
624            "rule": "Argument of type '() => never' is not assignable to parameter of type 'never'."
625        },
626        {
627            "line": 97,
628            "column": 11,
629            "problem": "StrictDiagnostic",
630            "suggest": "Variable 'b31' is used before being assigned.",
631            "rule": "Variable 'b31' is used before being assigned."
632        },
633        {
634            "line": 120,
635            "column": 13,
636            "problem": "StrictDiagnostic",
637            "suggest": "Variable 'foo41' is used before being assigned.",
638            "rule": "Variable 'foo41' is used before being assigned."
639        }
640    ]
641}
642