1{ 2 "copyright": [ 3 "Copyright (c) 2022-2024 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": 22, 19 "column": 3, 20 "problem": "WithStatement", 21 "suggest": "", 22 "rule": "\"with\" statement is not supported (arkts-no-with)" 23 }, 24 { 25 "line": 23, 26 "column": 11, 27 "problem": "AnyType", 28 "suggest": "", 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 30 }, 31 { 32 "line": 43, 33 "column": 3, 34 "problem": "NonDeclarationInNamespace", 35 "suggest": "", 36 "rule": "Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-declaration statements) (arkts-no-ns-statements)" 37 }, 38 { 39 "line": 44, 40 "column": 3, 41 "problem": "NonDeclarationInNamespace", 42 "suggest": "", 43 "rule": "Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-declaration statements) (arkts-no-ns-statements)" 44 }, 45 { 46 "line": 64, 47 "column": 11, 48 "problem": "NamespaceAsObject", 49 "suggest": "", 50 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 51 }, 52 { 53 "line": 67, 54 "column": 15, 55 "problem": "NamespaceAsObject", 56 "suggest": "", 57 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 58 }, 59 { 60 "line": 70, 61 "column": 18, 62 "problem": "TypeQuery", 63 "suggest": "", 64 "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)" 65 }, 66 { 67 "line": 73, 68 "column": 6, 69 "problem": "NamespaceAsObject", 70 "suggest": "", 71 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 72 }, 73 { 74 "line": 75, 75 "column": 20, 76 "problem": "TypeQuery", 77 "suggest": "", 78 "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)" 79 }, 80 { 81 "line": 78, 82 "column": 9, 83 "problem": "NamespaceAsObject", 84 "suggest": "", 85 "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 86 }, 87 { 88 "line": 80, 89 "column": 1, 90 "problem": "ImportAfterStatement", 91 "suggest": "", 92 "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 93 }, 94 { 95 "line": 89, 96 "column": 22, 97 "problem": "DeclWithDuplicateName", 98 "suggest": "", 99 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 100 }, 101 { 102 "line": 92, 103 "column": 1, 104 "problem": "ImportAfterStatement", 105 "suggest": "", 106 "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 107 }, 108 { 109 "line": 93, 110 "column": 1, 111 "problem": "ImportAfterStatement", 112 "suggest": "", 113 "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 114 }, 115 { 116 "line": 94, 117 "column": 1, 118 "problem": "ImportAfterStatement", 119 "suggest": "", 120 "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 121 }, 122 { 123 "line": 106, 124 "column": 1, 125 "problem": "ExportAssignment", 126 "suggest": "", 127 "rule": "\"export = ...\" assignment is not supported (arkts-no-export-assignment)" 128 }, 129 { 130 "line": 108, 131 "column": 1, 132 "problem": "ImportAssignment", 133 "suggest": "", 134 "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 135 }, 136 { 137 "line": 109, 138 "column": 1, 139 "problem": "ImportAssignment", 140 "suggest": "", 141 "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 142 }, 143 { 144 "line": 111, 145 "column": 5, 146 "problem": "AnyType", 147 "suggest": "", 148 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 149 }, 150 { 151 "line": 111, 152 "column": 5, 153 "problem": "ImportAssignment", 154 "suggest": "", 155 "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 156 }, 157 { 158 "line": 112, 159 "column": 7, 160 "problem": "AnyType", 161 "suggest": "", 162 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 163 }, 164 { 165 "line": 112, 166 "column": 7, 167 "problem": "ImportAssignment", 168 "suggest": "", 169 "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 170 } 171 ] 172}