• 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": 18,
19            "column": 3,
20            "endLine": 18,
21            "endColumn": 49,
22            "problem": "AnyType",
23            "suggest": "",
24            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
25            "severity": "ERROR"
26        },
27        {
28            "line": 18,
29            "column": 15,
30            "endLine": 18,
31            "endColumn": 42,
32            "problem": "DynamicCtorCall",
33            "suggest": "",
34            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
35            "severity": "ERROR"
36        },
37        {
38            "line": 18,
39            "column": 29,
40            "endLine": 18,
41            "endColumn": 42,
42            "problem": "ConstructorTypesDeprecated",
43            "suggest": "",
44            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
45            "severity": "ERROR"
46        },
47        {
48            "line": 19,
49            "column": 3,
50            "endLine": 19,
51            "endColumn": 10,
52            "problem": "LimitedReturnTypeInference",
53            "suggest": "",
54            "rule": "Function return type inference is limited (arkts-no-implicit-return-types)",
55            "severity": "ERROR"
56        },
57        {
58            "line": 23,
59            "column": 8,
60            "endLine": 23,
61            "endColumn": 58,
62            "problem": "AnyType",
63            "suggest": "",
64            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
65            "severity": "ERROR"
66        },
67        {
68            "line": 23,
69            "column": 25,
70            "endLine": 23,
71            "endColumn": 52,
72            "problem": "DynamicCtorCall",
73            "suggest": "",
74            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
75            "severity": "ERROR"
76        },
77        {
78            "line": 23,
79            "column": 39,
80            "endLine": 23,
81            "endColumn": 52,
82            "problem": "ConstructorTypesDeprecated",
83            "suggest": "",
84            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
85            "severity": "ERROR"
86        },
87        {
88            "line": 24,
89            "column": 48,
90            "endLine": 24,
91            "endColumn": 61,
92            "problem": "ConstructorTypesDeprecated",
93            "suggest": "",
94            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
95            "severity": "ERROR"
96        },
97        {
98            "line": 25,
99            "column": 3,
100            "endLine": 25,
101            "endColumn": 49,
102            "problem": "AnyType",
103            "suggest": "",
104            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
105            "severity": "ERROR"
106        },
107        {
108            "line": 25,
109            "column": 15,
110            "endLine": 25,
111            "endColumn": 42,
112            "problem": "DynamicCtorCall",
113            "suggest": "",
114            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
115            "severity": "ERROR"
116        },
117        {
118            "line": 25,
119            "column": 29,
120            "endLine": 25,
121            "endColumn": 42,
122            "problem": "ConstructorTypesDeprecated",
123            "suggest": "",
124            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
125            "severity": "ERROR"
126        },
127        {
128            "line": 26,
129            "column": 27,
130            "endLine": 26,
131            "endColumn": 40,
132            "problem": "ConstructorTypesDeprecated",
133            "suggest": "",
134            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
135            "severity": "ERROR"
136        },
137        {
138            "line": 29,
139            "column": 33,
140            "endLine": 29,
141            "endColumn": 46,
142            "problem": "ConstructorTypesDeprecated",
143            "suggest": "",
144            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
145            "severity": "ERROR"
146        },
147        {
148            "line": 30,
149            "column": 16,
150            "endLine": 30,
151            "endColumn": 43,
152            "problem": "DynamicCtorCall",
153            "suggest": "",
154            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
155            "severity": "ERROR"
156        },
157        {
158            "line": 30,
159            "column": 30,
160            "endLine": 30,
161            "endColumn": 43,
162            "problem": "ConstructorTypesDeprecated",
163            "suggest": "",
164            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
165            "severity": "ERROR"
166        },
167        {
168            "line": 31,
169            "column": 16,
170            "endLine": 31,
171            "endColumn": 43,
172            "problem": "DynamicCtorCall",
173            "suggest": "",
174            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
175            "severity": "ERROR"
176        },
177        {
178            "line": 31,
179            "column": 30,
180            "endLine": 31,
181            "endColumn": 43,
182            "problem": "ConstructorTypesDeprecated",
183            "suggest": "",
184            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
185            "severity": "ERROR"
186        },
187        {
188            "line": 38,
189            "column": 48,
190            "endLine": 38,
191            "endColumn": 61,
192            "problem": "ConstructorTypesDeprecated",
193            "suggest": "",
194            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
195            "severity": "ERROR"
196        },
197        {
198            "line": 39,
199            "column": 23,
200            "endLine": 39,
201            "endColumn": 50,
202            "problem": "DynamicCtorCall",
203            "suggest": "",
204            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
205            "severity": "ERROR"
206        },
207        {
208            "line": 39,
209            "column": 37,
210            "endLine": 39,
211            "endColumn": 50,
212            "problem": "ConstructorTypesDeprecated",
213            "suggest": "",
214            "rule": "Constructor types are not supported - use lambda functions instead. (sdk-constructor-funcs)",
215            "severity": "ERROR"
216        }
217    ]
218}
219