| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | type_literals.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | type_literals.ts.autofix.json | 31 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 48 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 70 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 92 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 131 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 148 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 170 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 187 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 209 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | object_literals_3.ts.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals_autofixes.ts.json | 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals_3.ts.autofix.json | 36 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 58 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 80 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 90 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 112 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 156 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 166 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 176 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 186 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | destructuring_for_loop.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 154 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | object_literals_autofixes.ts.autofix.json | 46 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 68 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 100 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 122 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 132 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 154 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 176 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 198 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 208 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 230 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | mapped_types.ts.json | 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 174 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 184 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 194 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 204 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| D | object_literals.ts.autofix.json | 36 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 68 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 100 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 110 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 120 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 130 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 140 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 150 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 160 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 170 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | interfaces_props.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | delete_operator.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 124 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| D | destructuring_parameters.ts.json | 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 214 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 224 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 244 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… [all …]
|
| D | destructuring_assignments.ts.json | 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 154 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 164 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 234 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 264 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… [all …]
|
| D | destructuring_declarations.ts.json | 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 284 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 294 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | destructuring_assignments.ts.autofix.json | 66 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 86 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 106 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 138 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 148 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 168 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 178 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 200 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 318 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 348 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… [all …]
|
| D | object_literals_2.ts.autofix.json | 36 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 46 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 56 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 66 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 76 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 86 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 96 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 106 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 116 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 126 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | object_literals_2.ts.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule38.ts.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | rule38.ts.autofix.json | 36 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 46 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 56 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 66 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 76 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 86 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 96 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 106 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 116 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 126 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | rule102.ts.json | 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | rule40.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe40.md | 1 # Object literals cannot be used as type declarations 3 Rule ``arkts-no-obj-literals-as-types`` 7 ArkTS does not support the usage of object literals to declare 43 … must correspond to some explicitly declared class or interface (``arkts-no-untyped-obj-literals``) 44 - Recipe 043: Array literals must contain elements of only inferrable types (``arkts-no-noninferra…
|
| D | recipe43.md | 1 # Array literals must contain elements of only inferrable types 3 Rule ``arkts-no-noninferrable-arr-literals`` 38 … must correspond to some explicitly declared class or interface (``arkts-no-untyped-obj-literals``) 39 - Recipe 040: Object literals cannot be used as type declarations (``arkts-no-obj-literals-as-type…
|
| D | recipe38.md | 3 Rule ``arkts-no-untyped-obj-literals`` 7 ArkTS supports usage of object literals if the compiler can infer to what 8 classes or interfaces such literals correspond to. A compile-time error 9 occurs otherwise. Using literals to initialize classes and interfaces is 143 - Recipe 040: Object literals cannot be used as type declarations (``arkts-no-obj-literals-as-type… 144 - Recipe 043: Array literals must contain elements of only inferrable types (``arkts-no-noninferra…
|