| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule151.ets.json | 34 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 44 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 54 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 64 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 74 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 84 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 94 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 104 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 114 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 124 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", [all …]
|
| D | rule144.ets.json | 24 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 34 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 44 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 64 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 74 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 84 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 104 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 114 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 124 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 134 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | es_object.ets.json | 34 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 44 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 54 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 64 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 74 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 84 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 94 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 104 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 114 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 124 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", [all …]
|
| D | es_object.ets.arkts2.json | 34 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 44 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 54 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 64 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 74 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 84 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 94 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 104 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 114 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", 124 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", [all …]
|
| D | limit_void_type.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 34 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 44 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 54 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 64 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 74 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 84 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 124 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", [all …]
|
| D | limited_stdlib_api.ets.json | 24 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 34 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 44 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 64 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 74 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 84 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 104 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 114 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 124 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 134 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", [all …]
|
| D | limited_stdlib_api.ets.arkts2.json | 24 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 84 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 104 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 144 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 154 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 164 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 184 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 194 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", 204 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", [all …]
|
| D | func_return_type.ets.json | 24 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 34 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 44 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 54 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 64 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 74 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 84 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 164 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 174 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 184 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", [all …]
|
| D | sendable_class_initialization.ets | 25 prop3: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited 26 prop4: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 27 …endableClass9 | T | BigInt = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited 28 …ndableClass9 | T | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 33 let v2: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited 34 let v3: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 35 …nonSendableClass9 | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 36 …| nonSendableClass9 | null = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
|
| D | func_inferred_type_args_2.ets.arkts2.json | 34 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 44 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 54 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 84 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 94 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 104 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 134 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 154 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 164 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 174 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… [all …]
|
| D | sendable_class_inheritance.ets.json | 44 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 54 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 64 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 74 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 84 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 94 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 104 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 114 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 124 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 134 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", [all …]
|
| D | limit_void_type.ets.autofix.json | 35 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 45 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 66 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 76 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 97 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 107 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 128 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 138 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 180 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 201 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", [all …]
|
| D | sendable_class_inheritance.ets.autofix.json | 44 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 54 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 64 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 74 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 84 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 94 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 104 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 114 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 131 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 148 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", [all …]
|
| D | no_import_concurrency.ets.arkts2.json | 24 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 34 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 44 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 54 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 64 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 74 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 84 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 94 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 104 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
|
| D | func_return_type.ets.migrate.json | 24 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 34 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 44 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 54 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 84 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 94 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 104 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 114 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 124 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 134 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)",
|
| D | func_return_type.ets.autofix.json | 31 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 48 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 65 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 75 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 85 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 95 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 105 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 220 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 237 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 254 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", [all …]
|
| D | sendable_class_inheritance.ets.migrate.json | 44 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 54 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 64 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 74 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 84 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 94 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 104 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 114 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
|
| D | no_import_concurrency.ets.autofix.json | 31 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 48 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 65 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 82 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 99 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 116 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 133 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 150 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 167 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)",
|
| D | taskpool_deprecated_usages.ets.arkts2.json | 34 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 54 … "rule": "Import Concurrency is not required (arkts-limited-stdlib-no-import-concurrency)", 124 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… 134 …"rule": "The taskpool setTransferList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-… 184 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… 194 …"rule": "The taskpool setTransferList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-… 224 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… 234 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… 264 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… 274 …"rule": "The taskpool setCloneList interface is deleted from ArkTS1.2 (arkts-limited-stdlib-no-set… [all …]
|
| D | func_inferred_type_args_2.ets.autofix.json | 34 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 55 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 76 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 106 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 127 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 148 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 178 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 198 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 219 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… 240 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… [all …]
|
| D | sendable_class_inheritance_2.ets.json | 24 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 34 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 44 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 54 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 64 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 74 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | limit_void_type_sdk3.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 34 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 44 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 64 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 84 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 104 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 124 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 134 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", [all …]
|
| D | limit_void_type_sdk2.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 34 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 44 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 64 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 84 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 104 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 124 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 134 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", [all …]
|
| D | LimitedVoidType3.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 34 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 44 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 54 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 74 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 104 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)",
|
| D | limit_void_type_sdk.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 44 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 54 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 64 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 74 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 84 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 104 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", 114 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", 144 "rule": "Type \"void\" has no instances.(sdk-limited-void-type)", [all …]
|