13af6ab5fSopenharmony_ci{ 23af6ab5fSopenharmony_ci "copyright": [ 33af6ab5fSopenharmony_ci "Copyright (c) 2022-2024 Huawei Device Co., Ltd.", 43af6ab5fSopenharmony_ci "Licensed under the Apache License, Version 2.0 (the 'License');", 53af6ab5fSopenharmony_ci "you may not use this file except in compliance with the License.", 63af6ab5fSopenharmony_ci "You may obtain a copy of the License at", 73af6ab5fSopenharmony_ci "", 83af6ab5fSopenharmony_ci "http://www.apache.org/licenses/LICENSE-2.0", 93af6ab5fSopenharmony_ci "", 103af6ab5fSopenharmony_ci "Unless required by applicable law or agreed to in writing, software", 113af6ab5fSopenharmony_ci "distributed under the License is distributed on an 'AS IS' BASIS,", 123af6ab5fSopenharmony_ci "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 133af6ab5fSopenharmony_ci "See the License for the specific language governing permissions and", 143af6ab5fSopenharmony_ci "limitations under the License." 153af6ab5fSopenharmony_ci ], 163af6ab5fSopenharmony_ci "nodes": [ 173af6ab5fSopenharmony_ci { 183af6ab5fSopenharmony_ci "line": 22, 193af6ab5fSopenharmony_ci "column": 3, 203af6ab5fSopenharmony_ci "problem": "WithStatement", 213af6ab5fSopenharmony_ci "suggest": "", 223af6ab5fSopenharmony_ci "rule": "\"with\" statement is not supported (arkts-no-with)" 233af6ab5fSopenharmony_ci }, 243af6ab5fSopenharmony_ci { 253af6ab5fSopenharmony_ci "line": 23, 263af6ab5fSopenharmony_ci "column": 11, 273af6ab5fSopenharmony_ci "problem": "AnyType", 283af6ab5fSopenharmony_ci "suggest": "", 293af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 303af6ab5fSopenharmony_ci }, 313af6ab5fSopenharmony_ci { 323af6ab5fSopenharmony_ci "line": 43, 333af6ab5fSopenharmony_ci "column": 3, 343af6ab5fSopenharmony_ci "problem": "NonDeclarationInNamespace", 353af6ab5fSopenharmony_ci "suggest": "", 363af6ab5fSopenharmony_ci "rule": "Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-declaration statements) (arkts-no-ns-statements)" 373af6ab5fSopenharmony_ci }, 383af6ab5fSopenharmony_ci { 393af6ab5fSopenharmony_ci "line": 44, 403af6ab5fSopenharmony_ci "column": 3, 413af6ab5fSopenharmony_ci "problem": "NonDeclarationInNamespace", 423af6ab5fSopenharmony_ci "suggest": "", 433af6ab5fSopenharmony_ci "rule": "Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-declaration statements) (arkts-no-ns-statements)" 443af6ab5fSopenharmony_ci }, 453af6ab5fSopenharmony_ci { 463af6ab5fSopenharmony_ci "line": 64, 473af6ab5fSopenharmony_ci "column": 11, 483af6ab5fSopenharmony_ci "problem": "NamespaceAsObject", 493af6ab5fSopenharmony_ci "suggest": "", 503af6ab5fSopenharmony_ci "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 513af6ab5fSopenharmony_ci }, 523af6ab5fSopenharmony_ci { 533af6ab5fSopenharmony_ci "line": 67, 543af6ab5fSopenharmony_ci "column": 15, 553af6ab5fSopenharmony_ci "problem": "NamespaceAsObject", 563af6ab5fSopenharmony_ci "suggest": "", 573af6ab5fSopenharmony_ci "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 583af6ab5fSopenharmony_ci }, 593af6ab5fSopenharmony_ci { 603af6ab5fSopenharmony_ci "line": 70, 613af6ab5fSopenharmony_ci "column": 18, 623af6ab5fSopenharmony_ci "problem": "TypeQuery", 633af6ab5fSopenharmony_ci "suggest": "", 643af6ab5fSopenharmony_ci "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)" 653af6ab5fSopenharmony_ci }, 663af6ab5fSopenharmony_ci { 673af6ab5fSopenharmony_ci "line": 73, 683af6ab5fSopenharmony_ci "column": 6, 693af6ab5fSopenharmony_ci "problem": "NamespaceAsObject", 703af6ab5fSopenharmony_ci "suggest": "", 713af6ab5fSopenharmony_ci "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 723af6ab5fSopenharmony_ci }, 733af6ab5fSopenharmony_ci { 743af6ab5fSopenharmony_ci "line": 75, 753af6ab5fSopenharmony_ci "column": 20, 763af6ab5fSopenharmony_ci "problem": "TypeQuery", 773af6ab5fSopenharmony_ci "suggest": "", 783af6ab5fSopenharmony_ci "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)" 793af6ab5fSopenharmony_ci }, 803af6ab5fSopenharmony_ci { 813af6ab5fSopenharmony_ci "line": 78, 823af6ab5fSopenharmony_ci "column": 9, 833af6ab5fSopenharmony_ci "problem": "NamespaceAsObject", 843af6ab5fSopenharmony_ci "suggest": "", 853af6ab5fSopenharmony_ci "rule": "Namespaces cannot be used as objects (arkts-no-ns-as-obj)" 863af6ab5fSopenharmony_ci }, 873af6ab5fSopenharmony_ci { 883af6ab5fSopenharmony_ci "line": 80, 893af6ab5fSopenharmony_ci "column": 1, 903af6ab5fSopenharmony_ci "problem": "ImportAfterStatement", 913af6ab5fSopenharmony_ci "suggest": "", 923af6ab5fSopenharmony_ci "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 933af6ab5fSopenharmony_ci }, 943af6ab5fSopenharmony_ci { 953af6ab5fSopenharmony_ci "line": 89, 963af6ab5fSopenharmony_ci "column": 22, 973af6ab5fSopenharmony_ci "problem": "DeclWithDuplicateName", 983af6ab5fSopenharmony_ci "suggest": "", 993af6ab5fSopenharmony_ci "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 1003af6ab5fSopenharmony_ci }, 1013af6ab5fSopenharmony_ci { 1023af6ab5fSopenharmony_ci "line": 92, 1033af6ab5fSopenharmony_ci "column": 1, 1043af6ab5fSopenharmony_ci "problem": "ImportAfterStatement", 1053af6ab5fSopenharmony_ci "suggest": "", 1063af6ab5fSopenharmony_ci "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 1073af6ab5fSopenharmony_ci }, 1083af6ab5fSopenharmony_ci { 1093af6ab5fSopenharmony_ci "line": 93, 1103af6ab5fSopenharmony_ci "column": 1, 1113af6ab5fSopenharmony_ci "problem": "ImportAfterStatement", 1123af6ab5fSopenharmony_ci "suggest": "", 1133af6ab5fSopenharmony_ci "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 1143af6ab5fSopenharmony_ci }, 1153af6ab5fSopenharmony_ci { 1163af6ab5fSopenharmony_ci "line": 94, 1173af6ab5fSopenharmony_ci "column": 1, 1183af6ab5fSopenharmony_ci "problem": "ImportAfterStatement", 1193af6ab5fSopenharmony_ci "suggest": "", 1203af6ab5fSopenharmony_ci "rule": "\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)" 1213af6ab5fSopenharmony_ci }, 1223af6ab5fSopenharmony_ci { 1233af6ab5fSopenharmony_ci "line": 106, 1243af6ab5fSopenharmony_ci "column": 1, 1253af6ab5fSopenharmony_ci "problem": "ExportAssignment", 1263af6ab5fSopenharmony_ci "suggest": "", 1273af6ab5fSopenharmony_ci "rule": "\"export = ...\" assignment is not supported (arkts-no-export-assignment)" 1283af6ab5fSopenharmony_ci }, 1293af6ab5fSopenharmony_ci { 1303af6ab5fSopenharmony_ci "line": 108, 1313af6ab5fSopenharmony_ci "column": 1, 1323af6ab5fSopenharmony_ci "problem": "ImportAssignment", 1333af6ab5fSopenharmony_ci "suggest": "", 1343af6ab5fSopenharmony_ci "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 1353af6ab5fSopenharmony_ci }, 1363af6ab5fSopenharmony_ci { 1373af6ab5fSopenharmony_ci "line": 109, 1383af6ab5fSopenharmony_ci "column": 1, 1393af6ab5fSopenharmony_ci "problem": "ImportAssignment", 1403af6ab5fSopenharmony_ci "suggest": "", 1413af6ab5fSopenharmony_ci "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 1423af6ab5fSopenharmony_ci }, 1433af6ab5fSopenharmony_ci { 1443af6ab5fSopenharmony_ci "line": 111, 1453af6ab5fSopenharmony_ci "column": 5, 1463af6ab5fSopenharmony_ci "problem": "AnyType", 1473af6ab5fSopenharmony_ci "suggest": "", 1483af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 1493af6ab5fSopenharmony_ci }, 1503af6ab5fSopenharmony_ci { 1513af6ab5fSopenharmony_ci "line": 111, 1523af6ab5fSopenharmony_ci "column": 5, 1533af6ab5fSopenharmony_ci "problem": "ImportAssignment", 1543af6ab5fSopenharmony_ci "suggest": "", 1553af6ab5fSopenharmony_ci "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 1563af6ab5fSopenharmony_ci }, 1573af6ab5fSopenharmony_ci { 1583af6ab5fSopenharmony_ci "line": 112, 1593af6ab5fSopenharmony_ci "column": 7, 1603af6ab5fSopenharmony_ci "problem": "AnyType", 1613af6ab5fSopenharmony_ci "suggest": "", 1623af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 1633af6ab5fSopenharmony_ci }, 1643af6ab5fSopenharmony_ci { 1653af6ab5fSopenharmony_ci "line": 112, 1663af6ab5fSopenharmony_ci "column": 7, 1673af6ab5fSopenharmony_ci "problem": "ImportAssignment", 1683af6ab5fSopenharmony_ci "suggest": "", 1693af6ab5fSopenharmony_ci "rule": "\"require\" and \"import\" assignment are not supported (arkts-no-require)" 1703af6ab5fSopenharmony_ci } 1713af6ab5fSopenharmony_ci ] 1723af6ab5fSopenharmony_ci}