1{ 2 "copyright": [ 3 "Copyright (c) 2024 Huawei Device Co., Ltd.", 4 "Licensed under the Apache License, Version 2.0 (the 'License');", 5 "you may not use this file except in compliance with the License.", 6 "You may obtain a copy of the License at", 7 "", 8 "http://www.apache.org/licenses/LICENSE-2.0", 9 "", 10 "Unless required by applicable law or agreed to in writing, software", 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 12 "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 13 "See the License for the specific language governing permissions and", 14 "limitations under the License." 15 ], 16 "nodes": [ 17 { 18 "line": 16, 19 "column": 16, 20 "problem": "ObjectTypeLiteral", 21 "suggest": "", 22 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)" 23 }, 24 { 25 "line": 16, 26 "column": 45, 27 "problem": "ArrayLiteralNoContextType", 28 "suggest": "", 29 "rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals)" 30 }, 31 { 32 "line": 17, 33 "column": 3, 34 "problem": "ObjectLiteralNoContextType", 35 "suggest": "", 36 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 37 }, 38 { 39 "line": 18, 40 "column": 3, 41 "problem": "ObjectLiteralNoContextType", 42 "suggest": "", 43 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 44 }, 45 { 46 "line": 19, 47 "column": 3, 48 "problem": "ObjectLiteralNoContextType", 49 "suggest": "", 50 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 51 }, 52 { 53 "line": 21, 54 "column": 12, 55 "problem": "DestructuringDeclaration", 56 "suggest": "", 57 "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)" 58 }, 59 { 60 "line": 30, 61 "column": 12, 62 "problem": "DestructuringDeclaration", 63 "suggest": "", 64 "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)" 65 }, 66 { 67 "line": 35, 68 "column": 6, 69 "problem": "DestructuringAssignment", 70 "suggest": "", 71 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)" 72 }, 73 { 74 "line": 40, 75 "column": 6, 76 "problem": "DestructuringAssignment", 77 "suggest": "", 78 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)" 79 }, 80 { 81 "line": 44, 82 "column": 16, 83 "problem": "ArrayLiteralNoContextType", 84 "suggest": "", 85 "rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals)" 86 }, 87 { 88 "line": 45, 89 "column": 3, 90 "problem": "ObjectLiteralNoContextType", 91 "suggest": "", 92 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 93 }, 94 { 95 "line": 47, 96 "column": 13, 97 "problem": "ObjectLiteralNoContextType", 98 "suggest": "", 99 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 100 }, 101 { 102 "line": 49, 103 "column": 3, 104 "problem": "ObjectLiteralNoContextType", 105 "suggest": "", 106 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 107 }, 108 { 109 "line": 51, 110 "column": 13, 111 "problem": "ObjectLiteralNoContextType", 112 "suggest": "", 113 "rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)" 114 }, 115 { 116 "line": 55, 117 "column": 6, 118 "problem": "DestructuringAssignment", 119 "suggest": "", 120 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)" 121 } 122 ] 123}