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": 20,
19            "column": 11,
20            "problem": "LiteralAsPropertyName",
21            "autofix": [
22                {
23                    "replacementText": "__2",
24                    "start": 747,
25                    "end": 748
26                },
27                {
28                    "replacementText": "__2",
29                    "start": 839,
30                    "end": 840
31                },
32                {
33                    "replacementText": "litAsPropName.__2",
34                    "start": 912,
35                    "end": 928
36                }
37            ],
38            "suggest": "",
39            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
40        },
41        {
42            "line": 26,
43            "column": 3,
44            "problem": "LiteralAsPropertyName",
45            "autofix": [
46                {
47                    "replacementText": "__2",
48                    "start": 747,
49                    "end": 748
50                },
51                {
52                    "replacementText": "__2",
53                    "start": 839,
54                    "end": 840
55                },
56                {
57                    "replacementText": "litAsPropName.__2",
58                    "start": 912,
59                    "end": 928
60                }
61            ],
62            "suggest": "",
63            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
64        },
65        {
66            "line": 30,
67            "column": 13,
68            "problem": "PropertyAccessByIndex",
69            "autofix": [
70                {
71                    "replacementText": "litAsPropName.one",
72                    "start": 877,
73                    "end": 897
74                }
75            ],
76            "suggest": "",
77            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
78        },
79        {
80            "line": 31,
81            "column": 13,
82            "problem": "PropertyAccessByIndex",
83            "autofix": [
84                {
85                    "replacementText": "__2",
86                    "start": 747,
87                    "end": 748
88                },
89                {
90                    "replacementText": "__2",
91                    "start": 839,
92                    "end": 840
93                },
94                {
95                    "replacementText": "litAsPropName.__2",
96                    "start": 912,
97                    "end": 928
98                }
99            ],
100            "suggest": "",
101            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
102        },
103        {
104            "line": 32,
105            "column": 13,
106            "problem": "PropertyAccessByIndex",
107            "autofix": [
108                {
109                    "replacementText": "Two",
110                    "start": 760,
111                    "end": 765
112                },
113                {
114                    "replacementText": "Two",
115                    "start": 851,
116                    "end": 856
117                },
118                {
119                    "replacementText": "litAsPropName.Two",
120                    "start": 943,
121                    "end": 963
122                }
123            ],
124            "suggest": "",
125            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
126        },
127        {
128            "line": 51,
129            "column": 9,
130            "problem": "ObjectLiteralNoContextType",
131            "autofix": [
132                {
133                    "start": 1327,
134                    "end": 1327,
135                    "replacementText": "interface GeneratedObjectLiteralInterface_1 {\n    \"name\": number;\n    2: number;\n}\n"
136                },
137                {
138                    "start": 1332,
139                    "end": 1332,
140                    "replacementText": ": GeneratedObjectLiteralInterface_1"
141                }
142            ],
143            "suggest": "",
144            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
145        },
146        {
147            "line": 51,
148            "column": 22,
149            "problem": "LiteralAsPropertyName",
150            "suggest": "",
151            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
152        },
153        {
154            "line": 53,
155            "column": 13,
156            "problem": "PropertyAccessByIndex",
157            "suggest": "",
158            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
159        },
160        {
161            "line": 54,
162            "column": 13,
163            "problem": "PropertyAccessByIndex",
164            "suggest": "",
165            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
166        },
167        {
168            "line": 61,
169            "column": 13,
170            "problem": "ObjectLiteralNoContextType",
171            "autofix": [
172                {
173                    "start": 1467,
174                    "end": 1467,
175                    "replacementText": "interface GeneratedObjectLiteralInterface_2 {\n    name: number;\n    _2: number;\n}\n"
176                },
177                {
178                    "start": 1476,
179                    "end": 1476,
180                    "replacementText": ": GeneratedObjectLiteralInterface_2"
181                }
182            ],
183            "suggest": "",
184            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
185        },
186        {
187            "line": 69,
188            "column": 3,
189            "problem": "LiteralAsPropertyName",
190            "autofix": [
191                {
192                    "replacementText": "___2",
193                    "start": 1637,
194                    "end": 1638
195                },
196                {
197                    "replacementText": "___2",
198                    "start": 1719,
199                    "end": 1720
200                }
201            ],
202            "suggest": "",
203            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
204        },
205        {
206            "line": 74,
207            "column": 3,
208            "problem": "LiteralAsPropertyName",
209            "autofix": [
210                {
211                    "replacementText": "___2",
212                    "start": 1637,
213                    "end": 1638
214                },
215                {
216                    "replacementText": "___2",
217                    "start": 1719,
218                    "end": 1720
219                }
220            ],
221            "suggest": "",
222            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
223        },
224        {
225            "line": 78,
226            "column": 36,
227            "problem": "LiteralAsPropertyName",
228            "suggest": "",
229            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
230        },
231        {
232            "line": 36,
233            "column": 11,
234            "problem": "StrictDiagnostic",
235            "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
236            "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
237        },
238        {
239            "line": 37,
240            "column": 3,
241            "problem": "StrictDiagnostic",
242            "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
243            "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor."
244        },
245        {
246            "line": 57,
247            "column": 12,
248            "problem": "StrictDiagnostic",
249            "suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
250            "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor."
251        },
252        {
253            "line": 58,
254            "column": 12,
255            "problem": "StrictDiagnostic",
256            "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
257            "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
258        }
259    ]
260}