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 "result": [ 17 { 18 "line": 16, 19 "column": 30, 20 "endLine": 16, 21 "endColumn": 31, 22 "problem": "NumericSemantics", 23 "suggest": "", 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 25 "severity": "ERROR" 26 }, 27 { 28 "line": 17, 29 "column": 64, 30 "endLine": 17, 31 "endColumn": 65, 32 "problem": "NumericSemantics", 33 "suggest": "", 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 35 "severity": "ERROR" 36 }, 37 { 38 "line": 17, 39 "column": 79, 40 "endLine": 17, 41 "endColumn": 80, 42 "problem": "NumericSemantics", 43 "suggest": "", 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 45 "severity": "ERROR" 46 }, 47 { 48 "line": 23, 49 "column": 35, 50 "endLine": 23, 51 "endColumn": 36, 52 "problem": "NumericSemantics", 53 "suggest": "", 54 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 55 "severity": "ERROR" 56 }, 57 { 58 "line": 24, 59 "column": 35, 60 "endLine": 24, 61 "endColumn": 36, 62 "problem": "NumericSemantics", 63 "suggest": "", 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 65 "severity": "ERROR" 66 }, 67 { 68 "line": 25, 69 "column": 29, 70 "endLine": 25, 71 "endColumn": 30, 72 "problem": "NumericSemantics", 73 "suggest": "", 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 75 "severity": "ERROR" 76 }, 77 { 78 "line": 26, 79 "column": 31, 80 "endLine": 26, 81 "endColumn": 32, 82 "problem": "NumericSemantics", 83 "suggest": "", 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 85 "severity": "ERROR" 86 }, 87 { 88 "line": 27, 89 "column": 31, 90 "endLine": 27, 91 "endColumn": 32, 92 "problem": "NumericSemantics", 93 "suggest": "", 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 95 "severity": "ERROR" 96 }, 97 { 98 "line": 28, 99 "column": 37, 100 "endLine": 28, 101 "endColumn": 38, 102 "problem": "NumericSemantics", 103 "suggest": "", 104 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 105 "severity": "ERROR" 106 }, 107 { 108 "line": 29, 109 "column": 45, 110 "endLine": 29, 111 "endColumn": 46, 112 "problem": "NumericSemantics", 113 "suggest": "", 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 115 "severity": "ERROR" 116 }, 117 { 118 "line": 30, 119 "column": 31, 120 "endLine": 30, 121 "endColumn": 32, 122 "problem": "NumericSemantics", 123 "suggest": "", 124 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 125 "severity": "ERROR" 126 }, 127 { 128 "line": 31, 129 "column": 33, 130 "endLine": 31, 131 "endColumn": 34, 132 "problem": "NumericSemantics", 133 "suggest": "", 134 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 135 "severity": "ERROR" 136 }, 137 { 138 "line": 32, 139 "column": 33, 140 "endLine": 32, 141 "endColumn": 34, 142 "problem": "NumericSemantics", 143 "suggest": "", 144 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 145 "severity": "ERROR" 146 }, 147 { 148 "line": 33, 149 "column": 39, 150 "endLine": 33, 151 "endColumn": 40, 152 "problem": "NumericSemantics", 153 "suggest": "", 154 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 155 "severity": "ERROR" 156 }, 157 { 158 "line": 49, 159 "column": 5, 160 "endLine": 49, 161 "endColumn": 30, 162 "problem": "NumericSemantics", 163 "suggest": "", 164 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", 165 "severity": "ERROR" 166 }, 167 { 168 "line": 56, 169 "column": 1, 170 "endLine": 56, 171 "endColumn": 18, 172 "problem": "ArrayTypeImmutable", 173 "suggest": "", 174 "rule": "Array type is immutable in ArkTS1.2 (arkts-array-type-immutable)", 175 "severity": "ERROR" 176 }, 177 { 178 "line": 73, 179 "column": 1, 180 "endLine": 73, 181 "endColumn": 8, 182 "problem": "StructuralIdentity", 183 "suggest": "", 184 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 185 "severity": "ERROR" 186 }, 187 { 188 "line": 74, 189 "column": 1, 190 "endLine": 74, 191 "endColumn": 8, 192 "problem": "StructuralIdentity", 193 "suggest": "", 194 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 195 "severity": "ERROR" 196 }, 197 { 198 "line": 66, 199 "column": 3, 200 "endLine": 66, 201 "endColumn": 4, 202 "problem": "StrictDiagnostic", 203 "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.", 204 "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.", 205 "severity": "ERROR" 206 }, 207 { 208 "line": 69, 209 "column": 3, 210 "endLine": 69, 211 "endColumn": 4, 212 "problem": "StrictDiagnostic", 213 "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.", 214 "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.", 215 "severity": "ERROR" 216 } 217 ] 218}