| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | inferred_type.ts.json | 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| D | arkui_decorators.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| D | array_literals.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | func_inferred_type_args.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 92 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 113 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 127 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | non_initializable_prop_decorators.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | types.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 85 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 155 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 162 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 239 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 253 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 288 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| D | binary_wrong_types.ts.json | 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | types.ts.autofix.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 83 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 90 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 111 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 201 "replacementText": "interface Dictionary {\n [key: string]: unknown;\n}" 219 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 226 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 358 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 379 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| D | type_declarations.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 106 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 113 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 120 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | property_access_by_index.ts.json | 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | property_access_by_index.ts.autofix.json | 47 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 55 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 63 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | import_assertion.ts.json | 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | functions.ts.json | 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | func_inferred_type_args.sts | 26 let y = greet(); // T is 'unknown' 31 foo(); // K is 'unknown' 38 bar(); // T is 'unknown' 51 let set = new Set(); // Type argument of constructor is 'unknown' 56 let c = new C(); // T is 'unknown' 58 c = new C(bar()); // T is 'unknown[]' 59 c = new C(set); // T is 'Set<unknown>'
|
| D | prototype_assignment.ts.json | 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 113 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 162 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 169 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule8_6.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | rule8_3.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 43 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 50 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 57 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 71 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 78 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | rule149.ts.json | 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 111 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 118 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 125 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 132 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 139 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 146 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 153 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 160 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 167 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| D | rule8_6.sts | 17 public fooAttr: unknown; 24 public fooFunc(fooAttr: unknown) { 25 let xxxx: unknown; 32 protected fooAttr: unknown; 39 public fooFunc(fooAttr: unknown) { 40 let xxxx: unknown; 47 private fooAttr: unknown; 54 public fooFunc(fooAttr: unknown) { 55 let xxxx: unknown;
|
| D | rule8_4.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | rule8_1.ts.json | 22 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 29 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 36 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)"
|
| D | rule5.ts.json | 253 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 260 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 267 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 281 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 295 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 309 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 323 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 330 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 337 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" 393 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)" [all …]
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | verification.yaml | 26 unknown: Internal error. 106 _default: unknown 109 unknown: 117 unknown: 135 unknown: 153 unknown: 169 unknown: 185 unknown: 199 unknown: 213 unknown: [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe8.md | 1 # Use explicit types instead of ``any``, ``unknown`` 3 Rule ``arkts-no-any-unknown`` 7 ArkTS does not support the types ``any`` and ``unknown``. Specify 20 let value2 : unknown
|
| /arkcompiler/ets_runtime/test/aottest/ts_inline_exception2/ |
| D | expect_output.txt | 16 at unknown (maybe inlined). depth: 3 17 at unknown (maybe inlined). depth: 2 18 at unknown (maybe inlined). depth: 1 19 at unknown (maybe inlined). depth: 0
|