• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "copyright": [
3        "Copyright (c) 2023-2023 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": 18,
19            "column": 3,
20            "problem": "LiteralAsPropertyName",
21            "suggest": "",
22            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
23        },
24        {
25            "line": 19,
26            "column": 3,
27            "problem": "LiteralAsPropertyName",
28            "suggest": "",
29            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
30        },
31        {
32            "line": 22,
33            "column": 46,
34            "problem": "ObjectLiteralNoContextType",
35            "suggest": "",
36            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
37        },
38        {
39            "line": 24,
40            "column": 3,
41            "problem": "LiteralAsPropertyName",
42            "suggest": "",
43            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
44        },
45        {
46            "line": 25,
47            "column": 3,
48            "problem": "LiteralAsPropertyName",
49            "suggest": "",
50            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
51        },
52        {
53            "line": 28,
54            "column": 13,
55            "problem": "PropertyAccessByIndex",
56            "suggest": "",
57            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
58        },
59        {
60            "line": 29,
61            "column": 13,
62            "problem": "PropertyAccessByIndex",
63            "suggest": "",
64            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
65        },
66        {
67            "line": 30,
68            "column": 13,
69            "problem": "PropertyAccessByIndex",
70            "suggest": "",
71            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
72        },
73        {
74            "line": 49,
75            "column": 9,
76            "problem": "ObjectLiteralNoContextType",
77            "suggest": "",
78            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
79        },
80        {
81            "line": 49,
82            "column": 10,
83            "problem": "LiteralAsPropertyName",
84            "suggest": "",
85            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
86        },
87        {
88            "line": 49,
89            "column": 22,
90            "problem": "LiteralAsPropertyName",
91            "suggest": "",
92            "rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)"
93        },
94        {
95            "line": 51,
96            "column": 13,
97            "problem": "PropertyAccessByIndex",
98            "suggest": "",
99            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
100        },
101        {
102            "line": 52,
103            "column": 13,
104            "problem": "PropertyAccessByIndex",
105            "suggest": "",
106            "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
107        },
108        {
109            "line": 59,
110            "column": 13,
111            "problem": "ObjectLiteralNoContextType",
112            "suggest": "",
113            "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)"
114        },
115        {
116            "line": 34,
117            "column": 11,
118            "problem": "StrictDiagnostic",
119            "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
120            "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
121        },
122        {
123            "line": 35,
124            "column": 3,
125            "problem": "StrictDiagnostic",
126            "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
127            "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor."
128        },
129        {
130            "line": 55,
131            "column": 12,
132            "problem": "StrictDiagnostic",
133            "suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
134            "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor."
135        },
136        {
137            "line": 56,
138            "column": 12,
139            "problem": "StrictDiagnostic",
140            "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
141            "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
142        }
143    ]
144}