1{ 2 "copyright": [ 3 "Copyright (c) 2025 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": 21, 19 "column": 3, 20 "endLine": 21, 21 "endColumn": 14, 22 "problem": "ClassstaticInitialization", 23 "suggest": "", 24 "rule": "The static property has no initializer (arkts-class-static-initialization)", 25 "severity": "ERROR" 26 }, 27 { 28 "line": 25, 29 "column": 3, 30 "endLine": 25, 31 "endColumn": 14, 32 "problem": "ClassstaticInitialization", 33 "suggest": "", 34 "rule": "The static property has no initializer (arkts-class-static-initialization)", 35 "severity": "ERROR" 36 }, 37 { 38 "line": 32, 39 "column": 3, 40 "endLine": 32, 41 "endColumn": 15, 42 "problem": "ClassstaticInitialization", 43 "suggest": "", 44 "rule": "The static property has no initializer (arkts-class-static-initialization)", 45 "severity": "ERROR" 46 }, 47 { 48 "line": 36, 49 "column": 3, 50 "endLine": 36, 51 "endColumn": 14, 52 "problem": "ClassstaticInitialization", 53 "suggest": "", 54 "rule": "The static property has no initializer (arkts-class-static-initialization)", 55 "severity": "ERROR" 56 }, 57 { 58 "line": 46, 59 "column": 3, 60 "endLine": 46, 61 "endColumn": 29, 62 "problem": "ClassstaticInitialization", 63 "suggest": "", 64 "rule": "The static property has no initializer (arkts-class-static-initialization)", 65 "severity": "ERROR" 66 }, 67 { 68 "line": 59, 69 "column": 3, 70 "endLine": 59, 71 "endColumn": 16, 72 "problem": "ClassstaticInitialization", 73 "suggest": "", 74 "rule": "The static property has no initializer (arkts-class-static-initialization)", 75 "severity": "ERROR" 76 }, 77 { 78 "line": 67, 79 "column": 3, 80 "endLine": 67, 81 "endColumn": 35, 82 "problem": "ClassstaticInitialization", 83 "suggest": "", 84 "rule": "The static property has no initializer (arkts-class-static-initialization)", 85 "severity": "ERROR" 86 }, 87 { 88 "line": 67, 89 "column": 18, 90 "endLine": 67, 91 "endColumn": 19, 92 "problem": "ObjectTypeLiteral", 93 "suggest": "", 94 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 95 "severity": "ERROR" 96 }, 97 { 98 "line": 71, 99 "column": 3, 100 "endLine": 71, 101 "endColumn": 23, 102 "problem": "ClassstaticInitialization", 103 "suggest": "", 104 "rule": "The static property has no initializer (arkts-class-static-initialization)", 105 "severity": "ERROR" 106 }, 107 { 108 "line": 79, 109 "column": 3, 110 "endLine": 79, 111 "endColumn": 38, 112 "problem": "ClassstaticInitialization", 113 "suggest": "", 114 "rule": "The static property has no initializer (arkts-class-static-initialization)", 115 "severity": "ERROR" 116 }, 117 { 118 "line": 86, 119 "column": 3, 120 "endLine": 86, 121 "endColumn": 45, 122 "problem": "ClassstaticInitialization", 123 "suggest": "", 124 "rule": "The static property has no initializer (arkts-class-static-initialization)", 125 "severity": "ERROR" 126 }, 127 { 128 "line": 87, 129 "column": 3, 130 "endLine": 87, 131 "endColumn": 45, 132 "problem": "ClassstaticInitialization", 133 "suggest": "", 134 "rule": "The static property has no initializer (arkts-class-static-initialization)", 135 "severity": "ERROR" 136 }, 137 { 138 "line": 88, 139 "column": 3, 140 "endLine": 88, 141 "endColumn": 53, 142 "problem": "ClassstaticInitialization", 143 "suggest": "", 144 "rule": "The static property has no initializer (arkts-class-static-initialization)", 145 "severity": "ERROR" 146 }, 147 { 148 "line": 88, 149 "column": 36, 150 "endLine": 88, 151 "endColumn": 37, 152 "problem": "ObjectTypeLiteral", 153 "suggest": "", 154 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 155 "severity": "ERROR" 156 }, 157 { 158 "line": 89, 159 "column": 3, 160 "endLine": 89, 161 "endColumn": 55, 162 "problem": "ClassstaticInitialization", 163 "suggest": "", 164 "rule": "The static property has no initializer (arkts-class-static-initialization)", 165 "severity": "ERROR" 166 }, 167 { 168 "line": 94, 169 "column": 3, 170 "endLine": 94, 171 "endColumn": 67, 172 "problem": "ClassstaticInitialization", 173 "suggest": "", 174 "rule": "The static property has no initializer (arkts-class-static-initialization)", 175 "severity": "ERROR" 176 }, 177 { 178 "line": 94, 179 "column": 37, 180 "endLine": 94, 181 "endColumn": 38, 182 "problem": "ObjectTypeLiteral", 183 "suggest": "", 184 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 185 "severity": "ERROR" 186 }, 187 { 188 "line": 95, 189 "column": 3, 190 "endLine": 101, 191 "endColumn": 5, 192 "problem": "ClassstaticInitialization", 193 "suggest": "", 194 "rule": "The static property has no initializer (arkts-class-static-initialization)", 195 "severity": "ERROR" 196 }, 197 { 198 "line": 95, 199 "column": 37, 200 "endLine": 95, 201 "endColumn": 38, 202 "problem": "ObjectTypeLiteral", 203 "suggest": "", 204 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 205 "severity": "ERROR" 206 }, 207 { 208 "line": 97, 209 "column": 15, 210 "endLine": 97, 211 "endColumn": 16, 212 "problem": "ObjectTypeLiteral", 213 "suggest": "", 214 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 215 "severity": "ERROR" 216 }, 217 { 218 "line": 106, 219 "column": 3, 220 "endLine": 106, 221 "endColumn": 34, 222 "problem": "ClassstaticInitialization", 223 "suggest": "", 224 "rule": "The static property has no initializer (arkts-class-static-initialization)", 225 "severity": "ERROR" 226 }, 227 { 228 "line": 107, 229 "column": 3, 230 "endLine": 107, 231 "endColumn": 48, 232 "problem": "ClassstaticInitialization", 233 "suggest": "", 234 "rule": "The static property has no initializer (arkts-class-static-initialization)", 235 "severity": "ERROR" 236 }, 237 { 238 "line": 108, 239 "column": 3, 240 "endLine": 108, 241 "endColumn": 40, 242 "problem": "ClassstaticInitialization", 243 "suggest": "", 244 "rule": "The static property has no initializer (arkts-class-static-initialization)", 245 "severity": "ERROR" 246 }, 247 { 248 "line": 109, 249 "column": 3, 250 "endLine": 109, 251 "endColumn": 46, 252 "problem": "ClassstaticInitialization", 253 "suggest": "", 254 "rule": "The static property has no initializer (arkts-class-static-initialization)", 255 "severity": "ERROR" 256 }, 257 { 258 "line": 114, 259 "column": 3, 260 "endLine": 114, 261 "endColumn": 46, 262 "problem": "ClassstaticInitialization", 263 "suggest": "", 264 "rule": "The static property has no initializer (arkts-class-static-initialization)", 265 "severity": "ERROR" 266 }, 267 { 268 "line": 115, 269 "column": 3, 270 "endLine": 115, 271 "endColumn": 72, 272 "problem": "ClassstaticInitialization", 273 "suggest": "", 274 "rule": "The static property has no initializer (arkts-class-static-initialization)", 275 "severity": "ERROR" 276 }, 277 { 278 "line": 115, 279 "column": 37, 280 "endLine": 115, 281 "endColumn": 71, 282 "problem": "IntersectionType", 283 "suggest": "", 284 "rule": "Use inheritance instead of intersection types (arkts-no-intersection-types)", 285 "severity": "ERROR" 286 }, 287 { 288 "line": 115, 289 "column": 37, 290 "endLine": 115, 291 "endColumn": 38, 292 "problem": "ObjectTypeLiteral", 293 "suggest": "", 294 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 295 "severity": "ERROR" 296 }, 297 { 298 "line": 115, 299 "column": 56, 300 "endLine": 115, 301 "endColumn": 57, 302 "problem": "ObjectTypeLiteral", 303 "suggest": "", 304 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 305 "severity": "ERROR" 306 }, 307 { 308 "line": 116, 309 "column": 3, 310 "endLine": 116, 311 "endColumn": 57, 312 "problem": "ClassstaticInitialization", 313 "suggest": "", 314 "rule": "The static property has no initializer (arkts-class-static-initialization)", 315 "severity": "ERROR" 316 }, 317 { 318 "line": 128, 319 "column": 3, 320 "endLine": 128, 321 "endColumn": 41, 322 "problem": "ClassstaticInitialization", 323 "suggest": "", 324 "rule": "The static property has no initializer (arkts-class-static-initialization)", 325 "severity": "ERROR" 326 }, 327 { 328 "line": 129, 329 "column": 3, 330 "endLine": 129, 331 "endColumn": 39, 332 "problem": "ClassstaticInitialization", 333 "suggest": "", 334 "rule": "The static property has no initializer (arkts-class-static-initialization)", 335 "severity": "ERROR" 336 }, 337 { 338 "line": 134, 339 "column": 3, 340 "endLine": 134, 341 "endColumn": 44, 342 "problem": "ClassstaticInitialization", 343 "suggest": "", 344 "rule": "The static property has no initializer (arkts-class-static-initialization)", 345 "severity": "ERROR" 346 }, 347 { 348 "line": 135, 349 "column": 3, 350 "endLine": 135, 351 "endColumn": 60, 352 "problem": "ClassstaticInitialization", 353 "suggest": "", 354 "rule": "The static property has no initializer (arkts-class-static-initialization)", 355 "severity": "ERROR" 356 }, 357 { 358 "line": 140, 359 "column": 3, 360 "endLine": 140, 361 "endColumn": 91, 362 "problem": "ClassstaticInitialization", 363 "suggest": "", 364 "rule": "The static property has no initializer (arkts-class-static-initialization)", 365 "severity": "ERROR" 366 }, 367 { 368 "line": 140, 369 "column": 43, 370 "endLine": 140, 371 "endColumn": 44, 372 "problem": "ObjectTypeLiteral", 373 "suggest": "", 374 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 375 "severity": "ERROR" 376 }, 377 { 378 "line": 141, 379 "column": 3, 380 "endLine": 141, 381 "endColumn": 65, 382 "problem": "ClassstaticInitialization", 383 "suggest": "", 384 "rule": "The static property has no initializer (arkts-class-static-initialization)", 385 "severity": "ERROR" 386 }, 387 { 388 "line": 141, 389 "column": 46, 390 "endLine": 141, 391 "endColumn": 47, 392 "problem": "ObjectTypeLiteral", 393 "suggest": "", 394 "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 395 "severity": "ERROR" 396 }, 397 { 398 "line": 142, 399 "column": 3, 400 "endLine": 142, 401 "endColumn": 57, 402 "problem": "ClassstaticInitialization", 403 "suggest": "", 404 "rule": "The static property has no initializer (arkts-class-static-initialization)", 405 "severity": "ERROR" 406 }, 407 { 408 "line": 152, 409 "column": 3, 410 "endLine": 152, 411 "endColumn": 34, 412 "problem": "ClassstaticInitialization", 413 "suggest": "", 414 "rule": "The static property has no initializer (arkts-class-static-initialization)", 415 "severity": "ERROR" 416 }, 417 { 418 "line": 153, 419 "column": 3, 420 "endLine": 153, 421 "endColumn": 37, 422 "problem": "ClassstaticInitialization", 423 "suggest": "", 424 "rule": "The static property has no initializer (arkts-class-static-initialization)", 425 "severity": "ERROR" 426 }, 427 { 428 "line": 163, 429 "column": 3, 430 "endLine": 163, 431 "endColumn": 38, 432 "problem": "ClassstaticInitialization", 433 "suggest": "", 434 "rule": "The static property has no initializer (arkts-class-static-initialization)", 435 "severity": "ERROR" 436 }, 437 { 438 "line": 164, 439 "column": 3, 440 "endLine": 164, 441 "endColumn": 45, 442 "problem": "ClassstaticInitialization", 443 "suggest": "", 444 "rule": "The static property has no initializer (arkts-class-static-initialization)", 445 "severity": "ERROR" 446 }, 447 { 448 "line": 169, 449 "column": 3, 450 "endLine": 169, 451 "endColumn": 36, 452 "problem": "ClassstaticInitialization", 453 "suggest": "", 454 "rule": "The static property has no initializer (arkts-class-static-initialization)", 455 "severity": "ERROR" 456 }, 457 { 458 "line": 170, 459 "column": 3, 460 "endLine": 170, 461 "endColumn": 40, 462 "problem": "ClassstaticInitialization", 463 "suggest": "", 464 "rule": "The static property has no initializer (arkts-class-static-initialization)", 465 "severity": "ERROR" 466 }, 467 { 468 "line": 170, 469 "column": 32, 470 "endLine": 170, 471 "endColumn": 39, 472 "problem": "UnknownType", 473 "suggest": "", 474 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 475 "severity": "ERROR" 476 }, 477 { 478 "line": 171, 479 "column": 3, 480 "endLine": 171, 481 "endColumn": 32, 482 "problem": "ClassstaticInitialization", 483 "suggest": "", 484 "rule": "The static property has no initializer (arkts-class-static-initialization)", 485 "severity": "ERROR" 486 }, 487 { 488 "line": 171, 489 "column": 28, 490 "endLine": 171, 491 "endColumn": 31, 492 "problem": "AnyType", 493 "suggest": "", 494 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 495 "severity": "ERROR" 496 }, 497 { 498 "line": 42, 499 "column": 2, 500 "endLine": 42, 501 "endColumn": 7, 502 "problem": "UIInterfaceImport", 503 "suggest": "", 504 "rule": "The ArkUI interface \"Entry\" should be imported before it is used (arkui-modular-interface)", 505 "severity": "ERROR" 506 }, 507 { 508 "line": 43, 509 "column": 2, 510 "endLine": 43, 511 "endColumn": 11, 512 "problem": "UIInterfaceImport", 513 "suggest": "", 514 "rule": "The ArkUI interface \"Component\" should be imported before it is used (arkui-modular-interface)", 515 "severity": "ERROR" 516 }, 517 { 518 "line": 45, 519 "column": 4, 520 "endLine": 45, 521 "endColumn": 9, 522 "problem": "UIInterfaceImport", 523 "suggest": "", 524 "rule": "The ArkUI interface \"State\" should be imported before it is used (arkui-modular-interface)", 525 "severity": "ERROR" 526 }, 527 { 528 "line": 49, 529 "column": 7, 530 "endLine": 49, 531 "endColumn": 11, 532 "problem": "UIInterfaceImport", 533 "suggest": "", 534 "rule": "The ArkUI interface \"Text\" should be imported before it is used (arkui-modular-interface)", 535 "severity": "ERROR" 536 }, 537 { 538 "line": 147, 539 "column": 3, 540 "endLine": 147, 541 "endColumn": 5, 542 "problem": "StrictDiagnostic", 543 "suggest": "Property 'id' has no initializer and is not definitely assigned in the constructor.", 544 "rule": "Property 'id' has no initializer and is not definitely assigned in the constructor.", 545 "severity": "ERROR" 546 }, 547 { 548 "line": 148, 549 "column": 3, 550 "endLine": 148, 551 "endColumn": 7, 552 "problem": "StrictDiagnostic", 553 "suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.", 554 "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor.", 555 "severity": "ERROR" 556 } 557 ] 558}