• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "copyright": [
3        "Copyright (c) 2022-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": 16,
19            "column": 1,
20            "problem": "ShorthandAmbientModuleDecl",
21            "suggest": "",
22            "rule": "Ambient module declaration is not supported (arkts-no-ambient-decls)"
23        },
24        {
25            "line": 22,
26            "column": 3,
27            "problem": "NonDeclarationInNamespace",
28            "suggest": "",
29            "rule": "Non-declaration statements in namespaces are not supported (arkts-no-ns-statements)"
30        },
31        {
32            "line": 20,
33            "column": 1,
34            "problem": "ShorthandAmbientModuleDecl",
35            "suggest": "",
36            "rule": "Ambient module declaration is not supported (arkts-no-ambient-decls)"
37        },
38        {
39            "line": 20,
40            "column": 1,
41            "problem": "WildcardsInModuleName",
42            "suggest": "",
43            "rule": "Wildcards in module names are not supported (arkts-no-module-wildcards)"
44        },
45        {
46            "line": 27,
47            "column": 3,
48            "problem": "NonDeclarationInNamespace",
49            "suggest": "",
50            "rule": "Non-declaration statements in namespaces are not supported (arkts-no-ns-statements)"
51        },
52        {
53            "line": 25,
54            "column": 1,
55            "problem": "ShorthandAmbientModuleDecl",
56            "suggest": "",
57            "rule": "Ambient module declaration is not supported (arkts-no-ambient-decls)"
58        },
59        {
60            "line": 25,
61            "column": 1,
62            "problem": "WildcardsInModuleName",
63            "suggest": "",
64            "rule": "Wildcards in module names are not supported (arkts-no-module-wildcards)"
65        },
66        {
67            "line": 26,
68            "column": 16,
69            "problem": "AnyType",
70            "suggest": "",
71            "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
72        },
73        {
74            "line": 30,
75            "column": 1,
76            "problem": "ShorthandAmbientModuleDecl",
77            "suggest": "",
78            "rule": "Ambient module declaration is not supported (arkts-no-ambient-decls)"
79        },
80        {
81            "line": 30,
82            "column": 1,
83            "problem": "WildcardsInModuleName",
84            "suggest": "",
85            "rule": "Wildcards in module names are not supported (arkts-no-module-wildcards)"
86        },
87        {
88            "line": 32,
89            "column": 1,
90            "problem": "ShorthandAmbientModuleDecl",
91            "suggest": "",
92            "rule": "Ambient module declaration is not supported (arkts-no-ambient-decls)"
93        }
94    ]
95}