• 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": 67,
19            "column": 18,
20            "endLine": 67,
21            "endColumn": 19,
22            "problem": "ObjectTypeLiteral",
23            "suggest": "",
24            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
25            "severity": "ERROR"
26        },
27        {
28            "line": 88,
29            "column": 36,
30            "endLine": 88,
31            "endColumn": 37,
32            "problem": "ObjectTypeLiteral",
33            "suggest": "",
34            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
35            "severity": "ERROR"
36        },
37        {
38            "line": 94,
39            "column": 37,
40            "endLine": 94,
41            "endColumn": 38,
42            "problem": "ObjectTypeLiteral",
43            "suggest": "",
44            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
45            "severity": "ERROR"
46        },
47        {
48            "line": 95,
49            "column": 37,
50            "endLine": 95,
51            "endColumn": 38,
52            "problem": "ObjectTypeLiteral",
53            "suggest": "",
54            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
55            "severity": "ERROR"
56        },
57        {
58            "line": 97,
59            "column": 15,
60            "endLine": 97,
61            "endColumn": 16,
62            "problem": "ObjectTypeLiteral",
63            "suggest": "",
64            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
65            "severity": "ERROR"
66        },
67        {
68            "line": 115,
69            "column": 37,
70            "endLine": 115,
71            "endColumn": 71,
72            "problem": "IntersectionType",
73            "suggest": "",
74            "rule": "Use inheritance instead of intersection types (arkts-no-intersection-types)",
75            "severity": "ERROR"
76        },
77        {
78            "line": 115,
79            "column": 37,
80            "endLine": 115,
81            "endColumn": 38,
82            "problem": "ObjectTypeLiteral",
83            "suggest": "",
84            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
85            "severity": "ERROR"
86        },
87        {
88            "line": 115,
89            "column": 56,
90            "endLine": 115,
91            "endColumn": 57,
92            "problem": "ObjectTypeLiteral",
93            "suggest": "",
94            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
95            "severity": "ERROR"
96        },
97        {
98            "line": 140,
99            "column": 43,
100            "endLine": 140,
101            "endColumn": 44,
102            "problem": "ObjectTypeLiteral",
103            "suggest": "",
104            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
105            "severity": "ERROR"
106        },
107        {
108            "line": 141,
109            "column": 46,
110            "endLine": 141,
111            "endColumn": 47,
112            "problem": "ObjectTypeLiteral",
113            "suggest": "",
114            "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
115            "severity": "ERROR"
116        },
117        {
118            "line": 170,
119            "column": 32,
120            "endLine": 170,
121            "endColumn": 39,
122            "problem": "UnknownType",
123            "suggest": "",
124            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
125            "severity": "ERROR"
126        },
127        {
128            "line": 171,
129            "column": 28,
130            "endLine": 171,
131            "endColumn": 31,
132            "problem": "AnyType",
133            "suggest": "",
134            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
135            "severity": "ERROR"
136        },
137        {
138            "line": 147,
139            "column": 3,
140            "endLine": 147,
141            "endColumn": 5,
142            "problem": "StrictDiagnostic",
143            "suggest": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
144            "rule": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
145            "severity": "ERROR"
146        },
147        {
148            "line": 148,
149            "column": 3,
150            "endLine": 148,
151            "endColumn": 7,
152            "problem": "StrictDiagnostic",
153            "suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
154            "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
155            "severity": "ERROR"
156        }
157    ]
158}