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": 20, 193af6ab5fSopenharmony_ci "column": 3, 203af6ab5fSopenharmony_ci "problem": "LocalFunction", 213af6ab5fSopenharmony_ci "suggest": "", 223af6ab5fSopenharmony_ci "rule": "Nested functions are not supported (arkts-no-nested-funcs)" 233af6ab5fSopenharmony_ci }, 243af6ab5fSopenharmony_ci { 253af6ab5fSopenharmony_ci "line": 20, 263af6ab5fSopenharmony_ci "column": 17, 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": 20, 333af6ab5fSopenharmony_ci "column": 20, 343af6ab5fSopenharmony_ci "problem": "AnyType", 353af6ab5fSopenharmony_ci "suggest": "", 363af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 373af6ab5fSopenharmony_ci }, 383af6ab5fSopenharmony_ci { 393af6ab5fSopenharmony_ci "line": 29, 403af6ab5fSopenharmony_ci "column": 3, 413af6ab5fSopenharmony_ci "problem": "GeneratorFunction", 423af6ab5fSopenharmony_ci "suggest": "", 433af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 443af6ab5fSopenharmony_ci }, 453af6ab5fSopenharmony_ci { 463af6ab5fSopenharmony_ci "line": 33, 473af6ab5fSopenharmony_ci "column": 7, 483af6ab5fSopenharmony_ci "problem": "YieldExpression", 493af6ab5fSopenharmony_ci "suggest": "", 503af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 513af6ab5fSopenharmony_ci }, 523af6ab5fSopenharmony_ci { 533af6ab5fSopenharmony_ci "line": 53, 543af6ab5fSopenharmony_ci "column": 19, 553af6ab5fSopenharmony_ci "problem": "AnyType", 563af6ab5fSopenharmony_ci "suggest": "", 573af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 583af6ab5fSopenharmony_ci }, 593af6ab5fSopenharmony_ci { 603af6ab5fSopenharmony_ci "line": 55, 613af6ab5fSopenharmony_ci "column": 17, 623af6ab5fSopenharmony_ci "problem": "AnyType", 633af6ab5fSopenharmony_ci "suggest": "", 643af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 653af6ab5fSopenharmony_ci }, 663af6ab5fSopenharmony_ci { 673af6ab5fSopenharmony_ci "line": 58, 683af6ab5fSopenharmony_ci "column": 27, 693af6ab5fSopenharmony_ci "problem": "AnyType", 703af6ab5fSopenharmony_ci "suggest": "", 713af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 723af6ab5fSopenharmony_ci }, 733af6ab5fSopenharmony_ci { 743af6ab5fSopenharmony_ci "line": 64, 753af6ab5fSopenharmony_ci "column": 3, 763af6ab5fSopenharmony_ci "problem": "FunctionContainsThis", 773af6ab5fSopenharmony_ci "suggest": "", 783af6ab5fSopenharmony_ci "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)" 793af6ab5fSopenharmony_ci }, 803af6ab5fSopenharmony_ci { 813af6ab5fSopenharmony_ci "line": 67, 823af6ab5fSopenharmony_ci "column": 3, 833af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 843af6ab5fSopenharmony_ci "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.", 853af6ab5fSopenharmony_ci "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor." 863af6ab5fSopenharmony_ci }, 873af6ab5fSopenharmony_ci { 883af6ab5fSopenharmony_ci "line": 93, 893af6ab5fSopenharmony_ci "column": 7, 903af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 913af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 923af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 933af6ab5fSopenharmony_ci }, 943af6ab5fSopenharmony_ci { 953af6ab5fSopenharmony_ci "line": 97, 963af6ab5fSopenharmony_ci "column": 5, 973af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 983af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 993af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1003af6ab5fSopenharmony_ci }, 1013af6ab5fSopenharmony_ci { 1023af6ab5fSopenharmony_ci "line": 101, 1033af6ab5fSopenharmony_ci "column": 5, 1043af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1053af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1063af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1073af6ab5fSopenharmony_ci }, 1083af6ab5fSopenharmony_ci { 1093af6ab5fSopenharmony_ci "line": 102, 1103af6ab5fSopenharmony_ci "column": 12, 1113af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1123af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1133af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1143af6ab5fSopenharmony_ci }, 1153af6ab5fSopenharmony_ci { 1163af6ab5fSopenharmony_ci "line": 106, 1173af6ab5fSopenharmony_ci "column": 7, 1183af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1193af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1203af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1213af6ab5fSopenharmony_ci }, 1223af6ab5fSopenharmony_ci { 1233af6ab5fSopenharmony_ci "line": 107, 1243af6ab5fSopenharmony_ci "column": 14, 1253af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1263af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1273af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1283af6ab5fSopenharmony_ci }, 1293af6ab5fSopenharmony_ci { 1303af6ab5fSopenharmony_ci "line": 108, 1313af6ab5fSopenharmony_ci "column": 16, 1323af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1333af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1343af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1353af6ab5fSopenharmony_ci }, 1363af6ab5fSopenharmony_ci { 1373af6ab5fSopenharmony_ci "line": 116, 1383af6ab5fSopenharmony_ci "column": 5, 1393af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1403af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1413af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1423af6ab5fSopenharmony_ci }, 1433af6ab5fSopenharmony_ci { 1443af6ab5fSopenharmony_ci "line": 118, 1453af6ab5fSopenharmony_ci "column": 7, 1463af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1473af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1483af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1493af6ab5fSopenharmony_ci }, 1503af6ab5fSopenharmony_ci { 1513af6ab5fSopenharmony_ci "line": 120, 1523af6ab5fSopenharmony_ci "column": 11, 1533af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1543af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1553af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1563af6ab5fSopenharmony_ci }, 1573af6ab5fSopenharmony_ci { 1583af6ab5fSopenharmony_ci "line": 122, 1593af6ab5fSopenharmony_ci "column": 11, 1603af6ab5fSopenharmony_ci "problem": "StrictDiagnostic", 1613af6ab5fSopenharmony_ci "suggest": "Argument of type 'null' is not assignable to parameter of type 'string'.", 1623af6ab5fSopenharmony_ci "rule": "Argument of type 'null' is not assignable to parameter of type 'string'." 1633af6ab5fSopenharmony_ci } 1643af6ab5fSopenharmony_ci ] 1653af6ab5fSopenharmony_ci}