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": 19,
19            "column": 3,
20            "problem": "DeclWithDuplicateName",
21            "autofixable": false,
22            "suggest": "",
23            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
24        },
25        {
26            "line": 20,
27            "column": 3,
28            "problem": "DeclWithDuplicateName",
29            "autofixable": false,
30            "suggest": "",
31            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
32        },
33        {
34            "line": 31,
35            "column": 3,
36            "problem": "DeclWithDuplicateName",
37            "autofixable": false,
38            "suggest": "",
39            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
40        },
41        {
42            "line": 32,
43            "column": 3,
44            "problem": "DeclWithDuplicateName",
45            "autofixable": false,
46            "suggest": "",
47            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
48        },
49        {
50            "line": 34,
51            "column": 3,
52            "problem": "DeclWithDuplicateName",
53            "autofixable": false,
54            "suggest": "",
55            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
56        },
57        {
58            "line": 35,
59            "column": 3,
60            "problem": "DeclWithDuplicateName",
61            "autofixable": false,
62            "suggest": "",
63            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
64        },
65        {
66            "line": 17,
67            "column": 3,
68            "problem": "PrivateIdentifier",
69            "autofixable": true,
70            "autofix": [
71                {
72                    "start": 617,
73                    "end": 628,
74                    "replacementText": "private p: number;"
75                },
76                {
77                    "start": 1121,
78                    "end": 1123,
79                    "replacementText": "p"
80                }
81            ],
82            "suggest": "",
83            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
84        },
85        {
86            "line": 20,
87            "column": 3,
88            "problem": "PrivateIdentifier",
89            "autofixable": false,
90            "suggest": "",
91            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
92        },
93        {
94            "line": 22,
95            "column": 3,
96            "problem": "PrivateIdentifier",
97            "autofixable": true,
98            "autofix": [
99                {
100                    "start": 677,
101                    "end": 689,
102                    "replacementText": "private q?: string;"
103                },
104                {
105                    "start": 1142,
106                    "end": 1144,
107                    "replacementText": "q"
108                }
109            ],
110            "suggest": "",
111            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
112        },
113        {
114            "line": 23,
115            "column": 3,
116            "problem": "DefiniteAssignment",
117            "autofixable": false,
118            "suggest": "",
119            "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)"
120        },
121        {
122            "line": 23,
123            "column": 3,
124            "problem": "PrivateIdentifier",
125            "autofixable": true,
126            "autofix": [
127                {
128                    "start": 692,
129                    "end": 704,
130                    "replacementText": "private e!: string;"
131                },
132                {
133                    "start": 1152,
134                    "end": 1154,
135                    "replacementText": "e"
136                }
137            ],
138            "suggest": "",
139            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
140        },
141        {
142            "line": 24,
143            "column": 10,
144            "problem": "PrivateIdentifier",
145            "autofixable": true,
146            "autofix": [
147                {
148                    "start": 707,
149                    "end": 721,
150                    "replacementText": "private static s = 0;"
151                },
152                {
153                    "start": 1159,
154                    "end": 1161,
155                    "replacementText": "s"
156                }
157            ],
158            "suggest": "",
159            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
160        },
161        {
162            "line": 25,
163            "column": 12,
164            "problem": "PrivateIdentifier",
165            "autofixable": true,
166            "autofix": [
167                {
168                    "start": 724,
169                    "end": 741,
170                    "replacementText": "private readonly r = 20;"
171                },
172                {
173                    "start": 1169,
174                    "end": 1171,
175                    "replacementText": "r"
176                }
177            ],
178            "suggest": "",
179            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
180        },
181        {
182            "line": 26,
183            "column": 19,
184            "problem": "PrivateIdentifier",
185            "autofixable": true,
186            "autofix": [
187                {
188                    "start": 744,
189                    "end": 768,
190                    "replacementText": "private static readonly sr = 0;"
191                },
192                {
193                    "start": 1176,
194                    "end": 1179,
195                    "replacementText": "sr"
196                }
197            ],
198            "suggest": "",
199            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
200        },
201        {
202            "line": 27,
203            "column": 19,
204            "problem": "PrivateIdentifier",
205            "autofixable": true,
206            "autofix": [
207                {
208                    "start": 771,
209                    "end": 801,
210                    "replacementText": "private static readonly srq?: string;"
211                },
212                {
213                    "start": 1184,
214                    "end": 1188,
215                    "replacementText": "srq"
216                }
217            ],
218            "suggest": "",
219            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
220        },
221        {
222            "line": 29,
223            "column": 3,
224            "problem": "PrivateIdentifier",
225            "autofixable": true,
226            "autofix": [
227                {
228                    "start": 805,
229                    "end": 827,
230                    "replacementText": "private m(x: number): void { }"
231                },
232                {
233                    "start": 1224,
234                    "end": 1226,
235                    "replacementText": "m"
236                }
237            ],
238            "suggest": "",
239            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
240        },
241        {
242            "line": 32,
243            "column": 3,
244            "problem": "PrivateIdentifier",
245            "autofixable": false,
246            "suggest": "",
247            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
248        },
249        {
250            "line": 35,
251            "column": 3,
252            "problem": "PrivateIdentifier",
253            "autofixable": false,
254            "suggest": "",
255            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
256        },
257        {
258            "line": 37,
259            "column": 7,
260            "problem": "PrivateIdentifier",
261            "autofixable": true,
262            "autofix": [
263                {
264                    "start": 955,
265                    "end": 987,
266                    "replacementText": "private get g1(): number { return 10; }"
267                },
268                {
269                    "start": 1315,
270                    "end": 1318,
271                    "replacementText": "g1"
272                }
273            ],
274            "suggest": "",
275            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
276        },
277        {
278            "line": 38,
279            "column": 7,
280            "problem": "PrivateIdentifier",
281            "autofixable": true,
282            "autofix": [
283                {
284                    "start": 990,
285                    "end": 1012,
286                    "replacementText": "private set s1(x: number) { }"
287                },
288                {
289                    "start": 1329,
290                    "end": 1332,
291                    "replacementText": "s1"
292                }
293            ],
294            "suggest": "",
295            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
296        },
297        {
298            "line": 40,
299            "column": 14,
300            "problem": "PrivateIdentifier",
301            "autofixable": true,
302            "autofix": [
303                {
304                    "start": 1016,
305                    "end": 1055,
306                    "replacementText": "private static get g2(): number { return 10; }"
307                },
308                {
309                    "start": 1352,
310                    "end": 1355,
311                    "replacementText": "g2"
312                }
313            ],
314            "suggest": "",
315            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
316        },
317        {
318            "line": 41,
319            "column": 14,
320            "problem": "PrivateIdentifier",
321            "autofixable": true,
322            "autofix": [
323                {
324                    "start": 1058,
325                    "end": 1087,
326                    "replacementText": "private static set s2(x: number) { }"
327                },
328                {
329                    "start": 1363,
330                    "end": 1366,
331                    "replacementText": "s2"
332                }
333            ],
334            "suggest": "",
335            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
336        },
337        {
338            "line": 44,
339            "column": 22,
340            "problem": "PrivateIdentifier",
341            "autofixable": true,
342            "autofix": [
343                {
344                    "start": 617,
345                    "end": 628,
346                    "replacementText": "private p: number;"
347                },
348                {
349                    "start": 1121,
350                    "end": 1123,
351                    "replacementText": "p"
352                }
353            ],
354            "suggest": "",
355            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
356        },
357        {
358            "line": 44,
359            "column": 32,
360            "problem": "PrivateIdentifier",
361            "autofixable": false,
362            "suggest": "",
363            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
364        },
365        {
366            "line": 44,
367            "column": 43,
368            "problem": "PrivateIdentifier",
369            "autofixable": true,
370            "autofix": [
371                {
372                    "start": 677,
373                    "end": 689,
374                    "replacementText": "private q?: string;"
375                },
376                {
377                    "start": 1142,
378                    "end": 1144,
379                    "replacementText": "q"
380                }
381            ],
382            "suggest": "",
383            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
384        },
385        {
386            "line": 44,
387            "column": 53,
388            "problem": "PrivateIdentifier",
389            "autofixable": true,
390            "autofix": [
391                {
392                    "start": 692,
393                    "end": 704,
394                    "replacementText": "private e!: string;"
395                },
396                {
397                    "start": 1152,
398                    "end": 1154,
399                    "replacementText": "e"
400                }
401            ],
402            "suggest": "",
403            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
404        },
405        {
406            "line": 44,
407            "column": 60,
408            "problem": "PrivateIdentifier",
409            "autofixable": true,
410            "autofix": [
411                {
412                    "start": 707,
413                    "end": 721,
414                    "replacementText": "private static s = 0;"
415                },
416                {
417                    "start": 1159,
418                    "end": 1161,
419                    "replacementText": "s"
420                }
421            ],
422            "suggest": "",
423            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
424        },
425        {
426            "line": 44,
427            "column": 70,
428            "problem": "PrivateIdentifier",
429            "autofixable": true,
430            "autofix": [
431                {
432                    "start": 724,
433                    "end": 741,
434                    "replacementText": "private readonly r = 20;"
435                },
436                {
437                    "start": 1169,
438                    "end": 1171,
439                    "replacementText": "r"
440                }
441            ],
442            "suggest": "",
443            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
444        },
445        {
446            "line": 44,
447            "column": 77,
448            "problem": "PrivateIdentifier",
449            "autofixable": true,
450            "autofix": [
451                {
452                    "start": 744,
453                    "end": 768,
454                    "replacementText": "private static readonly sr = 0;"
455                },
456                {
457                    "start": 1176,
458                    "end": 1179,
459                    "replacementText": "sr"
460                }
461            ],
462            "suggest": "",
463            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
464        },
465        {
466            "line": 44,
467            "column": 85,
468            "problem": "PrivateIdentifier",
469            "autofixable": true,
470            "autofix": [
471                {
472                    "start": 771,
473                    "end": 801,
474                    "replacementText": "private static readonly srq?: string;"
475                },
476                {
477                    "start": 1184,
478                    "end": 1188,
479                    "replacementText": "srq"
480                }
481            ],
482            "suggest": "",
483            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
484        },
485        {
486            "line": 45,
487            "column": 10,
488            "problem": "PrivateIdentifier",
489            "autofixable": true,
490            "autofix": [
491                {
492                    "start": 805,
493                    "end": 827,
494                    "replacementText": "private m(x: number): void { }"
495                },
496                {
497                    "start": 1224,
498                    "end": 1226,
499                    "replacementText": "m"
500                }
501            ],
502            "suggest": "",
503            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
504        },
505        {
506            "line": 46,
507            "column": 10,
508            "problem": "PrivateIdentifier",
509            "autofixable": false,
510            "suggest": "",
511            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
512        },
513        {
514            "line": 47,
515            "column": 10,
516            "problem": "PrivateIdentifier",
517            "autofixable": false,
518            "suggest": "",
519            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
520        },
521        {
522            "line": 48,
523            "column": 18,
524            "problem": "PrivateIdentifier",
525            "autofixable": true,
526            "autofix": [
527                {
528                    "start": 955,
529                    "end": 987,
530                    "replacementText": "private get g1(): number { return 10; }"
531                },
532                {
533                    "start": 1315,
534                    "end": 1318,
535                    "replacementText": "g1"
536                }
537            ],
538            "suggest": "",
539            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
540        },
541        {
542            "line": 49,
543            "column": 10,
544            "problem": "PrivateIdentifier",
545            "autofixable": true,
546            "autofix": [
547                {
548                    "start": 990,
549                    "end": 1012,
550                    "replacementText": "private set s1(x: number) { }"
551                },
552                {
553                    "start": 1329,
554                    "end": 1332,
555                    "replacementText": "s1"
556                }
557            ],
558            "suggest": "",
559            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
560        },
561        {
562            "line": 50,
563            "column": 15,
564            "problem": "PrivateIdentifier",
565            "autofixable": true,
566            "autofix": [
567                {
568                    "start": 1016,
569                    "end": 1055,
570                    "replacementText": "private static get g2(): number { return 10; }"
571                },
572                {
573                    "start": 1352,
574                    "end": 1355,
575                    "replacementText": "g2"
576                }
577            ],
578            "suggest": "",
579            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
580        },
581        {
582            "line": 51,
583            "column": 7,
584            "problem": "PrivateIdentifier",
585            "autofixable": true,
586            "autofix": [
587                {
588                    "start": 1058,
589                    "end": 1087,
590                    "replacementText": "private static set s2(x: number) { }"
591                },
592                {
593                    "start": 1363,
594                    "end": 1366,
595                    "replacementText": "s2"
596                }
597            ],
598            "suggest": "",
599            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
600        },
601        {
602            "line": 57,
603            "column": 3,
604            "problem": "DeclWithDuplicateName",
605            "autofixable": false,
606            "suggest": "",
607            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
608        },
609        {
610            "line": 59,
611            "column": 3,
612            "problem": "DeclWithDuplicateName",
613            "autofixable": false,
614            "suggest": "",
615            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
616        },
617        {
618            "line": 56,
619            "column": 3,
620            "problem": "PrivateIdentifier",
621            "autofixable": true,
622            "autofix": [
623                {
624                    "start": 1401,
625                    "end": 1412,
626                    "replacementText": "private a: string;"
627                },
628                {
629                    "start": 1572,
630                    "end": 1574,
631                    "replacementText": "a"
632                }
633            ],
634            "suggest": "",
635            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
636        },
637        {
638            "line": 57,
639            "column": 3,
640            "problem": "PrivateIdentifier",
641            "autofixable": false,
642            "suggest": "",
643            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
644        },
645        {
646            "line": 59,
647            "column": 3,
648            "problem": "PrivateIdentifier",
649            "autofixable": false,
650            "suggest": "",
651            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
652        },
653        {
654            "line": 61,
655            "column": 3,
656            "problem": "PrivateIdentifier",
657            "autofixable": true,
658            "autofix": [
659                {
660                    "start": 1494,
661                    "end": 1526,
662                    "replacementText": "private bar(): string { return 'baz'; }"
663                },
664                {
665                    "start": 1655,
666                    "end": 1659,
667                    "replacementText": "bar"
668                }
669            ],
670            "suggest": "",
671            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
672        },
673        {
674            "line": 64,
675            "column": 22,
676            "problem": "PrivateIdentifier",
677            "autofixable": false,
678            "suggest": "",
679            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
680        },
681        {
682            "line": 64,
683            "column": 32,
684            "problem": "PrivateIdentifier",
685            "autofixable": true,
686            "autofix": [
687                {
688                    "start": 1401,
689                    "end": 1412,
690                    "replacementText": "private a: string;"
691                },
692                {
693                    "start": 1572,
694                    "end": 1574,
695                    "replacementText": "a"
696                }
697            ],
698            "suggest": "",
699            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
700        },
701        {
702            "line": 65,
703            "column": 18,
704            "problem": "PrivateIdentifier",
705            "autofixable": false,
706            "suggest": "",
707            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
708        },
709        {
710            "line": 66,
711            "column": 18,
712            "problem": "PrivateIdentifier",
713            "autofixable": true,
714            "autofix": [
715                {
716                    "start": 1494,
717                    "end": 1526,
718                    "replacementText": "private bar(): string { return 'baz'; }"
719                },
720                {
721                    "start": 1655,
722                    "end": 1659,
723                    "replacementText": "bar"
724                }
725            ],
726            "suggest": "",
727            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
728        },
729        {
730            "line": 72,
731            "column": 3,
732            "problem": "DeclWithDuplicateName",
733            "autofixable": false,
734            "suggest": "",
735            "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
736        },
737        {
738            "line": 71,
739            "column": 3,
740            "problem": "PrivateIdentifier",
741            "autofixable": true,
742            "autofix": [
743                {
744                    "start": 1682,
745                    "end": 1693,
746                    "replacementText": "private a: number;"
747                }
748            ],
749            "suggest": "",
750            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
751        },
752        {
753            "line": 72,
754            "column": 3,
755            "problem": "PrivateIdentifier",
756            "autofixable": false,
757            "suggest": "",
758            "rule": "Private '#' identifiers are not supported (arkts-no-private-identifiers)"
759        },
760        {
761            "line": 74,
762            "column": 15,
763            "problem": "ParameterProperties",
764            "autofixable": true,
765            "autofix": [
766                {
767                    "start": 1726,
768                    "end": 1726,
769                    "replacementText": "public b: number;\n"
770                },
771                {
772                    "start": 1738,
773                    "end": 1754,
774                    "replacementText": "b: number"
775                },
776                {
777                    "start": 1756,
778                    "end": 1758,
779                    "replacementText": "{\n    this.b = b;\n}"
780                }
781            ],
782            "suggest": "",
783            "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)"
784        },
785        {
786            "line": 17,
787            "column": 3,
788            "problem": "StrictDiagnostic",
789            "autofixable": false,
790            "suggest": "Property '#p' has no initializer and is not definitely assigned in the constructor.",
791            "rule": "Property '#p' has no initializer and is not definitely assigned in the constructor."
792        },
793        {
794            "line": 19,
795            "column": 3,
796            "problem": "StrictDiagnostic",
797            "autofixable": false,
798            "suggest": "Property 'p2' has no initializer and is not definitely assigned in the constructor.",
799            "rule": "Property 'p2' has no initializer and is not definitely assigned in the constructor."
800        },
801        {
802            "line": 20,
803            "column": 3,
804            "problem": "StrictDiagnostic",
805            "autofixable": false,
806            "suggest": "Property '#p2' has no initializer and is not definitely assigned in the constructor.",
807            "rule": "Property '#p2' has no initializer and is not definitely assigned in the constructor."
808        },
809        {
810            "line": 34,
811            "column": 3,
812            "problem": "StrictDiagnostic",
813            "autofixable": false,
814            "suggest": "Property 'm3' has no initializer and is not definitely assigned in the constructor.",
815            "rule": "Property 'm3' has no initializer and is not definitely assigned in the constructor."
816        },
817        {
818            "line": 56,
819            "column": 3,
820            "problem": "StrictDiagnostic",
821            "autofixable": false,
822            "suggest": "Property '#a' has no initializer and is not definitely assigned in the constructor.",
823            "rule": "Property '#a' has no initializer and is not definitely assigned in the constructor."
824        },
825        {
826            "line": 57,
827            "column": 3,
828            "problem": "StrictDiagnostic",
829            "autofixable": false,
830            "suggest": "Property '#p' has no initializer and is not definitely assigned in the constructor.",
831            "rule": "Property '#p' has no initializer and is not definitely assigned in the constructor."
832        },
833        {
834            "line": 71,
835            "column": 3,
836            "problem": "StrictDiagnostic",
837            "autofixable": false,
838            "suggest": "Property '#a' has no initializer and is not definitely assigned in the constructor.",
839            "rule": "Property '#a' has no initializer and is not definitely assigned in the constructor."
840        },
841        {
842            "line": 72,
843            "column": 3,
844            "problem": "StrictDiagnostic",
845            "autofixable": false,
846            "suggest": "Property '#b' has no initializer and is not definitely assigned in the constructor.",
847            "rule": "Property '#b' has no initializer and is not definitely assigned in the constructor."
848        }
849    ]
850}
851