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