13af6ab5fSopenharmony_ci{ 23af6ab5fSopenharmony_ci "copyright": [ 33af6ab5fSopenharmony_ci "Copyright (c) 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": 17, 193af6ab5fSopenharmony_ci "column": 5, 203af6ab5fSopenharmony_ci "endLine": 17, 213af6ab5fSopenharmony_ci "endColumn": 27, 223af6ab5fSopenharmony_ci "problem": "AnyType", 233af6ab5fSopenharmony_ci "suggest": "", 243af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 253af6ab5fSopenharmony_ci }, 263af6ab5fSopenharmony_ci { 273af6ab5fSopenharmony_ci "line": 17, 283af6ab5fSopenharmony_ci "column": 13, 293af6ab5fSopenharmony_ci "endLine": 17, 303af6ab5fSopenharmony_ci "endColumn": 25, 313af6ab5fSopenharmony_ci "problem": "DynamicCtorCall", 323af6ab5fSopenharmony_ci "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)" 333af6ab5fSopenharmony_ci }, 343af6ab5fSopenharmony_ci { 353af6ab5fSopenharmony_ci "line": 21, 363af6ab5fSopenharmony_ci "column": 21, 373af6ab5fSopenharmony_ci "endLine": 21, 383af6ab5fSopenharmony_ci "endColumn": 52, 393af6ab5fSopenharmony_ci "problem": "ConstructorFuncs", 403af6ab5fSopenharmony_ci "suggest": "", 413af6ab5fSopenharmony_ci "rule": "Constructor function type is not supported (arkts-no-ctor-signatures-funcs)" 423af6ab5fSopenharmony_ci }, 433af6ab5fSopenharmony_ci { 443af6ab5fSopenharmony_ci "line": 26, 453af6ab5fSopenharmony_ci "column": 14, 463af6ab5fSopenharmony_ci "endLine": 26, 473af6ab5fSopenharmony_ci "endColumn": 18, 483af6ab5fSopenharmony_ci "problem": "DynamicCtorCall", 493af6ab5fSopenharmony_ci "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)" 503af6ab5fSopenharmony_ci }, 513af6ab5fSopenharmony_ci { 523af6ab5fSopenharmony_ci "line": 30, 533af6ab5fSopenharmony_ci "column": 9, 543af6ab5fSopenharmony_ci "endLine": 30, 553af6ab5fSopenharmony_ci "endColumn": 40, 563af6ab5fSopenharmony_ci "problem": "ConstructorFuncs", 573af6ab5fSopenharmony_ci "suggest": "", 583af6ab5fSopenharmony_ci "rule": "Constructor function type is not supported (arkts-no-ctor-signatures-funcs)" 593af6ab5fSopenharmony_ci }, 603af6ab5fSopenharmony_ci { 613af6ab5fSopenharmony_ci "line": 32, 623af6ab5fSopenharmony_ci "column": 14, 633af6ab5fSopenharmony_ci "endLine": 32, 643af6ab5fSopenharmony_ci "endColumn": 18, 653af6ab5fSopenharmony_ci "problem": "DynamicCtorCall", 663af6ab5fSopenharmony_ci "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)" 673af6ab5fSopenharmony_ci }, 683af6ab5fSopenharmony_ci { 693af6ab5fSopenharmony_ci "line": 36, 703af6ab5fSopenharmony_ci "column": 3, 713af6ab5fSopenharmony_ci "endLine": 36, 723af6ab5fSopenharmony_ci "endColumn": 22, 733af6ab5fSopenharmony_ci "problem": "ConstructorIface", 743af6ab5fSopenharmony_ci "suggest": "", 753af6ab5fSopenharmony_ci "rule": "Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-iface)" 763af6ab5fSopenharmony_ci }, 773af6ab5fSopenharmony_ci { 783af6ab5fSopenharmony_ci "line": 39, 793af6ab5fSopenharmony_ci "column": 14, 803af6ab5fSopenharmony_ci "endLine": 39, 813af6ab5fSopenharmony_ci "endColumn": 18, 823af6ab5fSopenharmony_ci "problem": "DynamicCtorCall", 833af6ab5fSopenharmony_ci "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)" 843af6ab5fSopenharmony_ci }, 853af6ab5fSopenharmony_ci { 863af6ab5fSopenharmony_ci "line": 44, 873af6ab5fSopenharmony_ci "column": 20, 883af6ab5fSopenharmony_ci "endLine": 44, 893af6ab5fSopenharmony_ci "endColumn": 21, 903af6ab5fSopenharmony_ci "problem": "ObjectTypeLiteral", 913af6ab5fSopenharmony_ci "suggest": "", 923af6ab5fSopenharmony_ci "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)" 933af6ab5fSopenharmony_ci }, 943af6ab5fSopenharmony_ci { 953af6ab5fSopenharmony_ci "line": 45, 963af6ab5fSopenharmony_ci "column": 3, 973af6ab5fSopenharmony_ci "endLine": 45, 983af6ab5fSopenharmony_ci "endColumn": 22, 993af6ab5fSopenharmony_ci "problem": "ConstructorType", 1003af6ab5fSopenharmony_ci "suggest": "", 1013af6ab5fSopenharmony_ci "rule": "Use \"class\" instead of a type with constructor signature (arkts-no-ctor-signatures-type)" 1023af6ab5fSopenharmony_ci }, 1033af6ab5fSopenharmony_ci { 1043af6ab5fSopenharmony_ci "line": 49, 1053af6ab5fSopenharmony_ci "column": 14, 1063af6ab5fSopenharmony_ci "endLine": 49, 1073af6ab5fSopenharmony_ci "endColumn": 18, 1083af6ab5fSopenharmony_ci "problem": "DynamicCtorCall", 1093af6ab5fSopenharmony_ci "rule": "\"new\" expression with dynamic constructor type is not supported (arkts-no-dynamic-ctor-call)" 1103af6ab5fSopenharmony_ci } 1113af6ab5fSopenharmony_ci ] 1123af6ab5fSopenharmony_ci}