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": 16, 193af6ab5fSopenharmony_ci "column": 15, 203af6ab5fSopenharmony_ci "problem": "FunctionExpression", 213af6ab5fSopenharmony_ci "suggest": "", 223af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 233af6ab5fSopenharmony_ci }, 243af6ab5fSopenharmony_ci { 253af6ab5fSopenharmony_ci "line": 18, 263af6ab5fSopenharmony_ci "column": 18, 273af6ab5fSopenharmony_ci "problem": "FunctionExpression", 283af6ab5fSopenharmony_ci "suggest": "", 293af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 303af6ab5fSopenharmony_ci }, 313af6ab5fSopenharmony_ci { 323af6ab5fSopenharmony_ci "line": 18, 333af6ab5fSopenharmony_ci "column": 39, 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": 23, 403af6ab5fSopenharmony_ci "column": 10, 413af6ab5fSopenharmony_ci "problem": "FunctionExpression", 423af6ab5fSopenharmony_ci "suggest": "", 433af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 443af6ab5fSopenharmony_ci }, 453af6ab5fSopenharmony_ci { 463af6ab5fSopenharmony_ci "line": 28, 473af6ab5fSopenharmony_ci "column": 17, 483af6ab5fSopenharmony_ci "problem": "FunctionExpression", 493af6ab5fSopenharmony_ci "suggest": "", 503af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 513af6ab5fSopenharmony_ci }, 523af6ab5fSopenharmony_ci { 533af6ab5fSopenharmony_ci "line": 32, 543af6ab5fSopenharmony_ci "column": 2, 553af6ab5fSopenharmony_ci "problem": "FunctionExpression", 563af6ab5fSopenharmony_ci "suggest": "", 573af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 583af6ab5fSopenharmony_ci }, 593af6ab5fSopenharmony_ci { 603af6ab5fSopenharmony_ci "line": 36, 613af6ab5fSopenharmony_ci "column": 7, 623af6ab5fSopenharmony_ci "problem": "FunctionExpression", 633af6ab5fSopenharmony_ci "suggest": "", 643af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 653af6ab5fSopenharmony_ci }, 663af6ab5fSopenharmony_ci { 673af6ab5fSopenharmony_ci "line": 41, 683af6ab5fSopenharmony_ci "column": 26, 693af6ab5fSopenharmony_ci "problem": "FunctionExpression", 703af6ab5fSopenharmony_ci "suggest": "", 713af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 723af6ab5fSopenharmony_ci }, 733af6ab5fSopenharmony_ci { 743af6ab5fSopenharmony_ci "line": 44, 753af6ab5fSopenharmony_ci "column": 27, 763af6ab5fSopenharmony_ci "problem": "FunctionExpression", 773af6ab5fSopenharmony_ci "suggest": "", 783af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 793af6ab5fSopenharmony_ci }, 803af6ab5fSopenharmony_ci { 813af6ab5fSopenharmony_ci "line": 48, 823af6ab5fSopenharmony_ci "column": 22, 833af6ab5fSopenharmony_ci "problem": "FunctionExpression", 843af6ab5fSopenharmony_ci "suggest": "", 853af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 863af6ab5fSopenharmony_ci }, 873af6ab5fSopenharmony_ci { 883af6ab5fSopenharmony_ci "line": 48, 893af6ab5fSopenharmony_ci "column": 22, 903af6ab5fSopenharmony_ci "problem": "LimitedReturnTypeInference", 913af6ab5fSopenharmony_ci "suggest": "", 923af6ab5fSopenharmony_ci "rule": "Function return type inference is limited (arkts-no-implicit-return-types)" 933af6ab5fSopenharmony_ci }, 943af6ab5fSopenharmony_ci { 953af6ab5fSopenharmony_ci "line": 48, 963af6ab5fSopenharmony_ci "column": 35, 973af6ab5fSopenharmony_ci "problem": "AnyType", 983af6ab5fSopenharmony_ci "suggest": "", 993af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 1003af6ab5fSopenharmony_ci }, 1013af6ab5fSopenharmony_ci { 1023af6ab5fSopenharmony_ci "line": 52, 1033af6ab5fSopenharmony_ci "column": 19, 1043af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1053af6ab5fSopenharmony_ci "suggest": "", 1063af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1073af6ab5fSopenharmony_ci }, 1083af6ab5fSopenharmony_ci { 1093af6ab5fSopenharmony_ci "line": 52, 1103af6ab5fSopenharmony_ci "column": 19, 1113af6ab5fSopenharmony_ci "problem": "GeneratorFunction", 1123af6ab5fSopenharmony_ci "suggest": "", 1133af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 1143af6ab5fSopenharmony_ci }, 1153af6ab5fSopenharmony_ci { 1163af6ab5fSopenharmony_ci "line": 53, 1173af6ab5fSopenharmony_ci "column": 3, 1183af6ab5fSopenharmony_ci "problem": "YieldExpression", 1193af6ab5fSopenharmony_ci "suggest": "", 1203af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 1213af6ab5fSopenharmony_ci }, 1223af6ab5fSopenharmony_ci { 1233af6ab5fSopenharmony_ci "line": 56, 1243af6ab5fSopenharmony_ci "column": 17, 1253af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1263af6ab5fSopenharmony_ci "suggest": "", 1273af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1283af6ab5fSopenharmony_ci }, 1293af6ab5fSopenharmony_ci { 1303af6ab5fSopenharmony_ci "line": 60, 1313af6ab5fSopenharmony_ci "column": 18, 1323af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1333af6ab5fSopenharmony_ci "suggest": "", 1343af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1353af6ab5fSopenharmony_ci }, 1363af6ab5fSopenharmony_ci { 1373af6ab5fSopenharmony_ci "line": 64, 1383af6ab5fSopenharmony_ci "column": 19, 1393af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1403af6ab5fSopenharmony_ci "suggest": "", 1413af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1423af6ab5fSopenharmony_ci }, 1433af6ab5fSopenharmony_ci { 1443af6ab5fSopenharmony_ci "line": 71, 1453af6ab5fSopenharmony_ci "column": 25, 1463af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1473af6ab5fSopenharmony_ci "suggest": "", 1483af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1493af6ab5fSopenharmony_ci }, 1503af6ab5fSopenharmony_ci { 1513af6ab5fSopenharmony_ci "line": 78, 1523af6ab5fSopenharmony_ci "column": 12, 1533af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1543af6ab5fSopenharmony_ci "suggest": "", 1553af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1563af6ab5fSopenharmony_ci }, 1573af6ab5fSopenharmony_ci { 1583af6ab5fSopenharmony_ci "line": 82, 1593af6ab5fSopenharmony_ci "column": 5, 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": 82, 1663af6ab5fSopenharmony_ci "column": 19, 1673af6ab5fSopenharmony_ci "problem": "PropertyAccessByIndex", 1683af6ab5fSopenharmony_ci "suggest": "", 1693af6ab5fSopenharmony_ci "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)" 1703af6ab5fSopenharmony_ci }, 1713af6ab5fSopenharmony_ci { 1723af6ab5fSopenharmony_ci "line": 82, 1733af6ab5fSopenharmony_ci "column": 19, 1743af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1753af6ab5fSopenharmony_ci "suggest": "", 1763af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1773af6ab5fSopenharmony_ci }, 1783af6ab5fSopenharmony_ci { 1793af6ab5fSopenharmony_ci "line": 86, 1803af6ab5fSopenharmony_ci "column": 6, 1813af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1823af6ab5fSopenharmony_ci "suggest": "", 1833af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1843af6ab5fSopenharmony_ci }, 1853af6ab5fSopenharmony_ci { 1863af6ab5fSopenharmony_ci "line": 91, 1873af6ab5fSopenharmony_ci "column": 9, 1883af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1893af6ab5fSopenharmony_ci "suggest": "", 1903af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1913af6ab5fSopenharmony_ci }, 1923af6ab5fSopenharmony_ci { 1933af6ab5fSopenharmony_ci "line": 96, 1943af6ab5fSopenharmony_ci "column": 25, 1953af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1963af6ab5fSopenharmony_ci "suggest": "", 1973af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1983af6ab5fSopenharmony_ci }, 1993af6ab5fSopenharmony_ci { 2003af6ab5fSopenharmony_ci "line": 102, 2013af6ab5fSopenharmony_ci "column": 9, 2023af6ab5fSopenharmony_ci "problem": "AnyType", 2033af6ab5fSopenharmony_ci "suggest": "", 2043af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 2053af6ab5fSopenharmony_ci }, 2063af6ab5fSopenharmony_ci { 2073af6ab5fSopenharmony_ci "line": 104, 2083af6ab5fSopenharmony_ci "column": 7, 2093af6ab5fSopenharmony_ci "problem": "FunctionBind", 2103af6ab5fSopenharmony_ci "suggest": "", 2113af6ab5fSopenharmony_ci "rule": "\"Function.bind\" is not supported (arkts-no-func-bind)" 2123af6ab5fSopenharmony_ci }, 2133af6ab5fSopenharmony_ci { 2143af6ab5fSopenharmony_ci "line": 102, 2153af6ab5fSopenharmony_ci "column": 15, 2163af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2173af6ab5fSopenharmony_ci "suggest": "", 2183af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2193af6ab5fSopenharmony_ci }, 2203af6ab5fSopenharmony_ci { 2213af6ab5fSopenharmony_ci "line": 108, 2223af6ab5fSopenharmony_ci "column": 16, 2233af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2243af6ab5fSopenharmony_ci "suggest": "", 2253af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2263af6ab5fSopenharmony_ci }, 2273af6ab5fSopenharmony_ci { 2283af6ab5fSopenharmony_ci "line": 109, 2293af6ab5fSopenharmony_ci "column": 24, 2303af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2313af6ab5fSopenharmony_ci "suggest": "", 2323af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2333af6ab5fSopenharmony_ci }, 2343af6ab5fSopenharmony_ci { 2353af6ab5fSopenharmony_ci "line": 112, 2363af6ab5fSopenharmony_ci "column": 5, 2373af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2383af6ab5fSopenharmony_ci "suggest": "", 2393af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2403af6ab5fSopenharmony_ci }, 2413af6ab5fSopenharmony_ci { 2423af6ab5fSopenharmony_ci "line": 113, 2433af6ab5fSopenharmony_ci "column": 10, 2443af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2453af6ab5fSopenharmony_ci "suggest": "", 2463af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2473af6ab5fSopenharmony_ci } 2483af6ab5fSopenharmony_ci ] 2493af6ab5fSopenharmony_ci}