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 "autofixable": true, 223af6ab5fSopenharmony_ci "autofix": [ 233af6ab5fSopenharmony_ci { 243af6ab5fSopenharmony_ci "start": 624, 253af6ab5fSopenharmony_ci "end": 638, 263af6ab5fSopenharmony_ci "replacementText": "() => { }" 273af6ab5fSopenharmony_ci } 283af6ab5fSopenharmony_ci ], 293af6ab5fSopenharmony_ci "suggest": "", 303af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 313af6ab5fSopenharmony_ci }, 323af6ab5fSopenharmony_ci { 333af6ab5fSopenharmony_ci "line": 18, 343af6ab5fSopenharmony_ci "column": 18, 353af6ab5fSopenharmony_ci "problem": "FunctionExpression", 363af6ab5fSopenharmony_ci "autofixable": true, 373af6ab5fSopenharmony_ci "autofix": [ 383af6ab5fSopenharmony_ci { 393af6ab5fSopenharmony_ci "start": 658, 403af6ab5fSopenharmony_ci "end": 709, 413af6ab5fSopenharmony_ci "replacementText": "(x: number, y): number => {\n return x * y;\n}" 423af6ab5fSopenharmony_ci } 433af6ab5fSopenharmony_ci ], 443af6ab5fSopenharmony_ci "suggest": "", 453af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 463af6ab5fSopenharmony_ci }, 473af6ab5fSopenharmony_ci { 483af6ab5fSopenharmony_ci "line": 18, 493af6ab5fSopenharmony_ci "column": 39, 503af6ab5fSopenharmony_ci "problem": "AnyType", 513af6ab5fSopenharmony_ci "autofixable": false, 523af6ab5fSopenharmony_ci "suggest": "", 533af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 543af6ab5fSopenharmony_ci }, 553af6ab5fSopenharmony_ci { 563af6ab5fSopenharmony_ci "line": 23, 573af6ab5fSopenharmony_ci "column": 10, 583af6ab5fSopenharmony_ci "problem": "FunctionExpression", 593af6ab5fSopenharmony_ci "autofixable": true, 603af6ab5fSopenharmony_ci "autofix": [ 613af6ab5fSopenharmony_ci { 623af6ab5fSopenharmony_ci "start": 759, 633af6ab5fSopenharmony_ci "end": 792, 643af6ab5fSopenharmony_ci "replacementText": "() => {\n return 100;\n}" 653af6ab5fSopenharmony_ci } 663af6ab5fSopenharmony_ci ], 673af6ab5fSopenharmony_ci "suggest": "", 683af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 693af6ab5fSopenharmony_ci }, 703af6ab5fSopenharmony_ci { 713af6ab5fSopenharmony_ci "line": 28, 723af6ab5fSopenharmony_ci "column": 17, 733af6ab5fSopenharmony_ci "problem": "FunctionExpression", 743af6ab5fSopenharmony_ci "autofixable": true, 753af6ab5fSopenharmony_ci "autofix": [ 763af6ab5fSopenharmony_ci { 773af6ab5fSopenharmony_ci "start": 813, 783af6ab5fSopenharmony_ci "end": 863, 793af6ab5fSopenharmony_ci "replacementText": "() => {\n return 'get result immediately';\n}" 803af6ab5fSopenharmony_ci } 813af6ab5fSopenharmony_ci ], 823af6ab5fSopenharmony_ci "suggest": "", 833af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 843af6ab5fSopenharmony_ci }, 853af6ab5fSopenharmony_ci { 863af6ab5fSopenharmony_ci "line": 32, 873af6ab5fSopenharmony_ci "column": 2, 883af6ab5fSopenharmony_ci "problem": "FunctionExpression", 893af6ab5fSopenharmony_ci "autofixable": true, 903af6ab5fSopenharmony_ci "autofix": [ 913af6ab5fSopenharmony_ci { 923af6ab5fSopenharmony_ci "start": 870, 933af6ab5fSopenharmony_ci "end": 908, 943af6ab5fSopenharmony_ci "replacementText": "() => {\n console.log('foo!');\n}" 953af6ab5fSopenharmony_ci } 963af6ab5fSopenharmony_ci ], 973af6ab5fSopenharmony_ci "suggest": "", 983af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 993af6ab5fSopenharmony_ci }, 1003af6ab5fSopenharmony_ci { 1013af6ab5fSopenharmony_ci "line": 36, 1023af6ab5fSopenharmony_ci "column": 7, 1033af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1043af6ab5fSopenharmony_ci "autofixable": true, 1053af6ab5fSopenharmony_ci "autofix": [ 1063af6ab5fSopenharmony_ci { 1073af6ab5fSopenharmony_ci "start": 920, 1083af6ab5fSopenharmony_ci "end": 958, 1093af6ab5fSopenharmony_ci "replacementText": "() => {\n console.log('bar!');\n}" 1103af6ab5fSopenharmony_ci } 1113af6ab5fSopenharmony_ci ], 1123af6ab5fSopenharmony_ci "suggest": "", 1133af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1143af6ab5fSopenharmony_ci }, 1153af6ab5fSopenharmony_ci { 1163af6ab5fSopenharmony_ci "line": 41, 1173af6ab5fSopenharmony_ci "column": 26, 1183af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1193af6ab5fSopenharmony_ci "autofixable": true, 1203af6ab5fSopenharmony_ci "autofix": [ 1213af6ab5fSopenharmony_ci { 1223af6ab5fSopenharmony_ci "start": 1023, 1233af6ab5fSopenharmony_ci "end": 1055, 1243af6ab5fSopenharmony_ci "replacementText": "(e) => {\n return e * 2;\n}" 1253af6ab5fSopenharmony_ci } 1263af6ab5fSopenharmony_ci ], 1273af6ab5fSopenharmony_ci "suggest": "", 1283af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1293af6ab5fSopenharmony_ci }, 1303af6ab5fSopenharmony_ci { 1313af6ab5fSopenharmony_ci "line": 44, 1323af6ab5fSopenharmony_ci "column": 27, 1333af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1343af6ab5fSopenharmony_ci "autofixable": true, 1353af6ab5fSopenharmony_ci "autofix": [ 1363af6ab5fSopenharmony_ci { 1373af6ab5fSopenharmony_ci "start": 1084, 1383af6ab5fSopenharmony_ci "end": 1122, 1393af6ab5fSopenharmony_ci "replacementText": "(x) => {\n return x % 2 === 0;\n}" 1403af6ab5fSopenharmony_ci } 1413af6ab5fSopenharmony_ci ], 1423af6ab5fSopenharmony_ci "suggest": "", 1433af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1443af6ab5fSopenharmony_ci }, 1453af6ab5fSopenharmony_ci { 1463af6ab5fSopenharmony_ci "line": 48, 1473af6ab5fSopenharmony_ci "column": 22, 1483af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1493af6ab5fSopenharmony_ci "autofixable": false, 1503af6ab5fSopenharmony_ci "suggest": "", 1513af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1523af6ab5fSopenharmony_ci }, 1533af6ab5fSopenharmony_ci { 1543af6ab5fSopenharmony_ci "line": 48, 1553af6ab5fSopenharmony_ci "column": 22, 1563af6ab5fSopenharmony_ci "problem": "LimitedReturnTypeInference", 1573af6ab5fSopenharmony_ci "autofixable": false, 1583af6ab5fSopenharmony_ci "suggest": "", 1593af6ab5fSopenharmony_ci "rule": "Function return type inference is limited (arkts-no-implicit-return-types)" 1603af6ab5fSopenharmony_ci }, 1613af6ab5fSopenharmony_ci { 1623af6ab5fSopenharmony_ci "line": 48, 1633af6ab5fSopenharmony_ci "column": 35, 1643af6ab5fSopenharmony_ci "problem": "AnyType", 1653af6ab5fSopenharmony_ci "autofixable": false, 1663af6ab5fSopenharmony_ci "suggest": "", 1673af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 1683af6ab5fSopenharmony_ci }, 1693af6ab5fSopenharmony_ci { 1703af6ab5fSopenharmony_ci "line": 52, 1713af6ab5fSopenharmony_ci "column": 19, 1723af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1733af6ab5fSopenharmony_ci "autofixable": false, 1743af6ab5fSopenharmony_ci "suggest": "", 1753af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 1763af6ab5fSopenharmony_ci }, 1773af6ab5fSopenharmony_ci { 1783af6ab5fSopenharmony_ci "line": 52, 1793af6ab5fSopenharmony_ci "column": 19, 1803af6ab5fSopenharmony_ci "problem": "GeneratorFunction", 1813af6ab5fSopenharmony_ci "autofixable": false, 1823af6ab5fSopenharmony_ci "suggest": "", 1833af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 1843af6ab5fSopenharmony_ci }, 1853af6ab5fSopenharmony_ci { 1863af6ab5fSopenharmony_ci "line": 53, 1873af6ab5fSopenharmony_ci "column": 3, 1883af6ab5fSopenharmony_ci "problem": "YieldExpression", 1893af6ab5fSopenharmony_ci "autofixable": false, 1903af6ab5fSopenharmony_ci "suggest": "", 1913af6ab5fSopenharmony_ci "rule": "Generator functions are not supported (arkts-no-generators)" 1923af6ab5fSopenharmony_ci }, 1933af6ab5fSopenharmony_ci { 1943af6ab5fSopenharmony_ci "line": 56, 1953af6ab5fSopenharmony_ci "column": 17, 1963af6ab5fSopenharmony_ci "problem": "FunctionExpression", 1973af6ab5fSopenharmony_ci "autofixable": true, 1983af6ab5fSopenharmony_ci "autofix": [ 1993af6ab5fSopenharmony_ci { 2003af6ab5fSopenharmony_ci "start": 1248, 2013af6ab5fSopenharmony_ci "end": 1291, 2023af6ab5fSopenharmony_ci "replacementText": "<T, E>(t: T, e: E) => {\n return t;\n}" 2033af6ab5fSopenharmony_ci } 2043af6ab5fSopenharmony_ci ], 2053af6ab5fSopenharmony_ci "suggest": "", 2063af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2073af6ab5fSopenharmony_ci }, 2083af6ab5fSopenharmony_ci { 2093af6ab5fSopenharmony_ci "line": 60, 2103af6ab5fSopenharmony_ci "column": 18, 2113af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2123af6ab5fSopenharmony_ci "autofixable": true, 2133af6ab5fSopenharmony_ci "autofix": [ 2143af6ab5fSopenharmony_ci { 2153af6ab5fSopenharmony_ci "start": 1311, 2163af6ab5fSopenharmony_ci "end": 1354, 2173af6ab5fSopenharmony_ci "replacementText": "async () => {\n console.log('baz!');\n}" 2183af6ab5fSopenharmony_ci } 2193af6ab5fSopenharmony_ci ], 2203af6ab5fSopenharmony_ci "suggest": "", 2213af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2223af6ab5fSopenharmony_ci }, 2233af6ab5fSopenharmony_ci { 2243af6ab5fSopenharmony_ci "line": 64, 2253af6ab5fSopenharmony_ci "column": 19, 2263af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2273af6ab5fSopenharmony_ci "autofixable": false, 2283af6ab5fSopenharmony_ci "suggest": "", 2293af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2303af6ab5fSopenharmony_ci }, 2313af6ab5fSopenharmony_ci { 2323af6ab5fSopenharmony_ci "line": 71, 2333af6ab5fSopenharmony_ci "column": 25, 2343af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2353af6ab5fSopenharmony_ci "autofixable": true, 2363af6ab5fSopenharmony_ci "autofix": [ 2373af6ab5fSopenharmony_ci { 2383af6ab5fSopenharmony_ci "start": 1492, 2393af6ab5fSopenharmony_ci "end": 1649, 2403af6ab5fSopenharmony_ci "replacementText": "(p: () => number): void => {\n let a = factorial(3);\n let b = p();\n let c = new C();\n c.m();\n}" 2413af6ab5fSopenharmony_ci } 2423af6ab5fSopenharmony_ci ], 2433af6ab5fSopenharmony_ci "suggest": "", 2443af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2453af6ab5fSopenharmony_ci }, 2463af6ab5fSopenharmony_ci { 2473af6ab5fSopenharmony_ci "line": 78, 2483af6ab5fSopenharmony_ci "column": 12, 2493af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2503af6ab5fSopenharmony_ci "autofixable": true, 2513af6ab5fSopenharmony_ci "autofix": [ 2523af6ab5fSopenharmony_ci { 2533af6ab5fSopenharmony_ci "start": 1663, 2543af6ab5fSopenharmony_ci "end": 1714, 2553af6ab5fSopenharmony_ci "replacementText": "(() => {\n console.log('called immediately');\n})" 2563af6ab5fSopenharmony_ci } 2573af6ab5fSopenharmony_ci ], 2583af6ab5fSopenharmony_ci "suggest": "", 2593af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2603af6ab5fSopenharmony_ci }, 2613af6ab5fSopenharmony_ci { 2623af6ab5fSopenharmony_ci "line": 82, 2633af6ab5fSopenharmony_ci "column": 5, 2643af6ab5fSopenharmony_ci "problem": "AnyType", 2653af6ab5fSopenharmony_ci "autofixable": false, 2663af6ab5fSopenharmony_ci "suggest": "", 2673af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 2683af6ab5fSopenharmony_ci }, 2693af6ab5fSopenharmony_ci { 2703af6ab5fSopenharmony_ci "line": 82, 2713af6ab5fSopenharmony_ci "column": 19, 2723af6ab5fSopenharmony_ci "problem": "PropertyAccessByIndex", 2733af6ab5fSopenharmony_ci "autofixable": false, 2743af6ab5fSopenharmony_ci "suggest": "", 2753af6ab5fSopenharmony_ci "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)" 2763af6ab5fSopenharmony_ci }, 2773af6ab5fSopenharmony_ci { 2783af6ab5fSopenharmony_ci "line": 82, 2793af6ab5fSopenharmony_ci "column": 19, 2803af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2813af6ab5fSopenharmony_ci "autofixable": true, 2823af6ab5fSopenharmony_ci "autofix": [ 2833af6ab5fSopenharmony_ci { 2843af6ab5fSopenharmony_ci "start": 1737, 2853af6ab5fSopenharmony_ci "end": 1782, 2863af6ab5fSopenharmony_ci "replacementText": "(() => {\n console.log('index access');\n})" 2873af6ab5fSopenharmony_ci } 2883af6ab5fSopenharmony_ci ], 2893af6ab5fSopenharmony_ci "suggest": "", 2903af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 2913af6ab5fSopenharmony_ci }, 2923af6ab5fSopenharmony_ci { 2933af6ab5fSopenharmony_ci "line": 86, 2943af6ab5fSopenharmony_ci "column": 6, 2953af6ab5fSopenharmony_ci "problem": "FunctionExpression", 2963af6ab5fSopenharmony_ci "autofixable": true, 2973af6ab5fSopenharmony_ci "autofix": [ 2983af6ab5fSopenharmony_ci { 2993af6ab5fSopenharmony_ci "start": 1793, 3003af6ab5fSopenharmony_ci "end": 1830, 3013af6ab5fSopenharmony_ci "replacementText": "(() => {\n console.log('void');\n})" 3023af6ab5fSopenharmony_ci } 3033af6ab5fSopenharmony_ci ], 3043af6ab5fSopenharmony_ci "suggest": "", 3053af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3063af6ab5fSopenharmony_ci }, 3073af6ab5fSopenharmony_ci { 3083af6ab5fSopenharmony_ci "line": 91, 3093af6ab5fSopenharmony_ci "column": 9, 3103af6ab5fSopenharmony_ci "problem": "FunctionExpression", 3113af6ab5fSopenharmony_ci "autofixable": true, 3123af6ab5fSopenharmony_ci "autofix": [ 3133af6ab5fSopenharmony_ci { 3143af6ab5fSopenharmony_ci "start": 1870, 3153af6ab5fSopenharmony_ci "end": 1912, 3163af6ab5fSopenharmony_ci "replacementText": "(() => {\n console.log('async');\n})" 3173af6ab5fSopenharmony_ci } 3183af6ab5fSopenharmony_ci ], 3193af6ab5fSopenharmony_ci "suggest": "", 3203af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3213af6ab5fSopenharmony_ci }, 3223af6ab5fSopenharmony_ci { 3233af6ab5fSopenharmony_ci "line": 96, 3243af6ab5fSopenharmony_ci "column": 25, 3253af6ab5fSopenharmony_ci "problem": "FunctionExpression", 3263af6ab5fSopenharmony_ci "autofixable": true, 3273af6ab5fSopenharmony_ci "autofix": [ 3283af6ab5fSopenharmony_ci { 3293af6ab5fSopenharmony_ci "start": 1941, 3303af6ab5fSopenharmony_ci "end": 1980, 3313af6ab5fSopenharmony_ci "replacementText": "(() => {\n console.log('typeof');\n})" 3323af6ab5fSopenharmony_ci } 3333af6ab5fSopenharmony_ci ], 3343af6ab5fSopenharmony_ci "suggest": "", 3353af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3363af6ab5fSopenharmony_ci }, 3373af6ab5fSopenharmony_ci { 3383af6ab5fSopenharmony_ci "line": 102, 3393af6ab5fSopenharmony_ci "column": 9, 3403af6ab5fSopenharmony_ci "problem": "AnyType", 3413af6ab5fSopenharmony_ci "autofixable": false, 3423af6ab5fSopenharmony_ci "suggest": "", 3433af6ab5fSopenharmony_ci "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 3443af6ab5fSopenharmony_ci }, 3453af6ab5fSopenharmony_ci { 3463af6ab5fSopenharmony_ci "line": 104, 3473af6ab5fSopenharmony_ci "column": 7, 3483af6ab5fSopenharmony_ci "problem": "FunctionBind", 3493af6ab5fSopenharmony_ci "autofixable": false, 3503af6ab5fSopenharmony_ci "suggest": "", 3513af6ab5fSopenharmony_ci "rule": "\"Function.bind\" is not supported (arkts-no-func-bind)" 3523af6ab5fSopenharmony_ci }, 3533af6ab5fSopenharmony_ci { 3543af6ab5fSopenharmony_ci "line": 102, 3553af6ab5fSopenharmony_ci "column": 15, 3563af6ab5fSopenharmony_ci "problem": "FunctionExpression", 3573af6ab5fSopenharmony_ci "autofixable": true, 3583af6ab5fSopenharmony_ci "autofix": [ 3593af6ab5fSopenharmony_ci { 3603af6ab5fSopenharmony_ci "start": 2027, 3613af6ab5fSopenharmony_ci "end": 2097, 3623af6ab5fSopenharmony_ci "replacementText": "((p: boolean) => {\n console.log('Function.bind(this)');\n})" 3633af6ab5fSopenharmony_ci } 3643af6ab5fSopenharmony_ci ], 3653af6ab5fSopenharmony_ci "suggest": "", 3663af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3673af6ab5fSopenharmony_ci }, 3683af6ab5fSopenharmony_ci { 3693af6ab5fSopenharmony_ci "line": 108, 3703af6ab5fSopenharmony_ci "column": 16, 3713af6ab5fSopenharmony_ci "problem": "FunctionExpression", 3723af6ab5fSopenharmony_ci "autofixable": true, 3733af6ab5fSopenharmony_ci "autofix": [ 3743af6ab5fSopenharmony_ci { 3753af6ab5fSopenharmony_ci "start": 2132, 3763af6ab5fSopenharmony_ci "end": 2171, 3773af6ab5fSopenharmony_ci "replacementText": "() => { console.log('callback'); }" 3783af6ab5fSopenharmony_ci } 3793af6ab5fSopenharmony_ci ], 3803af6ab5fSopenharmony_ci "suggest": "", 3813af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3823af6ab5fSopenharmony_ci }, 3833af6ab5fSopenharmony_ci { 3843af6ab5fSopenharmony_ci "line": 109, 3853af6ab5fSopenharmony_ci "column": 24, 3863af6ab5fSopenharmony_ci "problem": "FunctionExpression", 3873af6ab5fSopenharmony_ci "autofixable": true, 3883af6ab5fSopenharmony_ci "autofix": [ 3893af6ab5fSopenharmony_ci { 3903af6ab5fSopenharmony_ci "start": 2195, 3913af6ab5fSopenharmony_ci "end": 2246, 3923af6ab5fSopenharmony_ci "replacementText": "(() => { console.log('expr || function(){}'); })" 3933af6ab5fSopenharmony_ci } 3943af6ab5fSopenharmony_ci ], 3953af6ab5fSopenharmony_ci "suggest": "", 3963af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 3973af6ab5fSopenharmony_ci }, 3983af6ab5fSopenharmony_ci { 3993af6ab5fSopenharmony_ci "line": 112, 4003af6ab5fSopenharmony_ci "column": 5, 4013af6ab5fSopenharmony_ci "problem": "FunctionExpression", 4023af6ab5fSopenharmony_ci "autofixable": true, 4033af6ab5fSopenharmony_ci "autofix": [ 4043af6ab5fSopenharmony_ci { 4053af6ab5fSopenharmony_ci "start": 2282, 4063af6ab5fSopenharmony_ci "end": 2322, 4073af6ab5fSopenharmony_ci "replacementText": "(() => { console.log('ternary 1'); })" 4083af6ab5fSopenharmony_ci } 4093af6ab5fSopenharmony_ci ], 4103af6ab5fSopenharmony_ci "suggest": "", 4113af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 4123af6ab5fSopenharmony_ci }, 4133af6ab5fSopenharmony_ci { 4143af6ab5fSopenharmony_ci "line": 113, 4153af6ab5fSopenharmony_ci "column": 10, 4163af6ab5fSopenharmony_ci "problem": "FunctionExpression", 4173af6ab5fSopenharmony_ci "autofixable": true, 4183af6ab5fSopenharmony_ci "autofix": [ 4193af6ab5fSopenharmony_ci { 4203af6ab5fSopenharmony_ci "start": 2337, 4213af6ab5fSopenharmony_ci "end": 2377, 4223af6ab5fSopenharmony_ci "replacementText": "(() => { console.log('ternary 2'); })" 4233af6ab5fSopenharmony_ci } 4243af6ab5fSopenharmony_ci ], 4253af6ab5fSopenharmony_ci "suggest": "", 4263af6ab5fSopenharmony_ci "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)" 4273af6ab5fSopenharmony_ci } 4283af6ab5fSopenharmony_ci ] 4293af6ab5fSopenharmony_ci} 430