• 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": 21,
19            "column": 11,
20            "endLine": 21,
21            "endColumn": 60,
22            "problem": "LimitedReturnTypeInference",
23            "suggest": "",
24            "rule": "Function return type inference is limited (arkts-no-implicit-return-types)",
25            "severity": "ERROR"
26        },
27        {
28            "line": 26,
29            "column": 44,
30            "endLine": 26,
31            "endColumn": 45,
32            "problem": "NumericSemantics",
33            "suggest": "",
34            "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)",
35            "severity": "ERROR"
36        },
37        {
38            "line": 26,
39            "column": 47,
40            "endLine": 26,
41            "endColumn": 48,
42            "problem": "NumericSemantics",
43            "suggest": "",
44            "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)",
45            "severity": "ERROR"
46        },
47        {
48            "line": 26,
49            "column": 50,
50            "endLine": 26,
51            "endColumn": 51,
52            "problem": "NumericSemantics",
53            "suggest": "",
54            "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)",
55            "severity": "ERROR"
56        },
57        {
58            "line": 27,
59            "column": 5,
60            "endLine": 27,
61            "endColumn": 23,
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": 27,
69            "column": 13,
70            "endLine": 27,
71            "endColumn": 20,
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": 27,
79            "column": 21,
80            "endLine": 27,
81            "endColumn": 22,
82            "problem": "NumericSemantics",
83            "suggest": "",
84            "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)",
85            "severity": "ERROR"
86        },
87        {
88            "line": 28,
89            "column": 5,
90            "endLine": 28,
91            "endColumn": 23,
92            "problem": "AnyType",
93            "suggest": "",
94            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
95            "severity": "ERROR"
96        },
97        {
98            "line": 28,
99            "column": 13,
100            "endLine": 28,
101            "endColumn": 20,
102            "problem": "DynamicCtorCall",
103            "suggest": "",
104            "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)",
105            "severity": "ERROR"
106        },
107        {
108            "line": 28,
109            "column": 21,
110            "endLine": 28,
111            "endColumn": 22,
112            "problem": "NumericSemantics",
113            "suggest": "",
114            "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)",
115            "severity": "ERROR"
116        },
117        {
118            "line": 29,
119            "column": 1,
120            "endLine": 29,
121            "endColumn": 25,
122            "problem": "BuiltinThisArgs",
123            "suggest": "",
124            "rule": "Using thisArgs as a type is not allowed in this API (arkts-builtin-thisArgs)",
125            "severity": "ERROR"
126        },
127        {
128            "line": 31,
129            "column": 1,
130            "endLine": 31,
131            "endColumn": 25,
132            "problem": "BuiltinThisArgs",
133            "suggest": "",
134            "rule": "Using thisArgs as a type is not allowed in this API (arkts-builtin-thisArgs)",
135            "severity": "ERROR"
136        }
137    ]
138}