1{ 2 "copyright": [ 3 "Copyright (c) 2022-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 "result": [ 17 { 18 "line": 16, 19 "column": 11, 20 "endLine": 16, 21 "endColumn": 12, 22 "problem": "ObjectTypeLiteral", 23 "suggest": "", 24 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 25 "severity": "ERROR" 26 }, 27 { 28 "line": 17, 29 "column": 10, 30 "endLine": 17, 31 "endColumn": 13, 32 "problem": "AnyType", 33 "suggest": "", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 35 "severity": "ERROR" 36 }, 37 { 38 "line": 20, 39 "column": 23, 40 "endLine": 20, 41 "endColumn": 29, 42 "problem": "DeleteOperator", 43 "suggest": "", 44 "rule": "\"delete\" operator is not supported (arkts-no-delete)", 45 "severity": "ERROR" 46 }, 47 { 48 "line": 22, 49 "column": 11, 50 "endLine": 22, 51 "endColumn": 12, 52 "problem": "ObjectTypeLiteral", 53 "suggest": "", 54 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 55 "severity": "ERROR" 56 }, 57 { 58 "line": 23, 59 "column": 10, 60 "endLine": 23, 61 "endColumn": 17, 62 "problem": "UnknownType", 63 "suggest": "", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 65 "severity": "ERROR" 66 }, 67 { 68 "line": 26, 69 "column": 23, 70 "endLine": 26, 71 "endColumn": 29, 72 "problem": "DeleteOperator", 73 "suggest": "", 74 "rule": "\"delete\" operator is not supported (arkts-no-delete)", 75 "severity": "ERROR" 76 }, 77 { 78 "line": 28, 79 "column": 11, 80 "endLine": 28, 81 "endColumn": 12, 82 "problem": "ObjectTypeLiteral", 83 "suggest": "", 84 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 85 "severity": "ERROR" 86 }, 87 { 88 "line": 32, 89 "column": 23, 90 "endLine": 32, 91 "endColumn": 29, 92 "problem": "DeleteOperator", 93 "suggest": "", 94 "rule": "\"delete\" operator is not supported (arkts-no-delete)", 95 "severity": "ERROR" 96 }, 97 { 98 "line": 34, 99 "column": 11, 100 "endLine": 34, 101 "endColumn": 12, 102 "problem": "ObjectTypeLiteral", 103 "suggest": "", 104 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 105 "severity": "ERROR" 106 }, 107 { 108 "line": 38, 109 "column": 23, 110 "endLine": 38, 111 "endColumn": 29, 112 "problem": "DeleteOperator", 113 "suggest": "", 114 "rule": "\"delete\" operator is not supported (arkts-no-delete)", 115 "severity": "ERROR" 116 }, 117 { 118 "line": 40, 119 "column": 11, 120 "endLine": 40, 121 "endColumn": 12, 122 "problem": "ObjectTypeLiteral", 123 "suggest": "", 124 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 125 "severity": "ERROR" 126 }, 127 { 128 "line": 44, 129 "column": 23, 130 "endLine": 44, 131 "endColumn": 29, 132 "problem": "DeleteOperator", 133 "suggest": "", 134 "rule": "\"delete\" operator is not supported (arkts-no-delete)", 135 "severity": "ERROR" 136 }, 137 { 138 "line": 44, 139 "column": 30, 140 "endLine": 44, 141 "endColumn": 37, 142 "problem": "StrictDiagnostic", 143 "suggest": "The operand of a 'delete' operator must be optional.", 144 "rule": "The operand of a 'delete' operator must be optional.", 145 "severity": "ERROR" 146 } 147 ] 148}