| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_explicit_field_type.ets.migrate.json | 24 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 34 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 44 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 54 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 74 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 84 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 94 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 104 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 114 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string [all …]
|
| D | limit_void_type.ets.arkts2.json | 24 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 34 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 44 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 54 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 64 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 74 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 84 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 94 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string 104 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)", string [all …]
|
| D | arkts-array-type-immutable.ets.arkts2.json | 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 34 "rule": "Array type is immutable in ArkTS1.2 (arkts-array-type-immutable)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Array type is immutable in ArkTS1.2 (arkts-array-type-immutable)", string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Array type is immutable in ArkTS1.2 (arkts-array-type-immutable)", string 84 "rule": "Array type is immutable in ArkTS1.2 (arkts-array-type-immutable)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string [all …]
|
| D | func_inferred_type_args.ets.arkts2.json | 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 64 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… string 114 …"rule": "Type inference in case of generic function calls is limited (arkts-no-inferred-generic-pa… string [all …]
|
| D | structural_identity.ets.json | 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 74 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string [all …]
|
| D | type_literals.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 74 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string [all …]
|
| D | structural_identity.ets.arkts2.json | 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 74 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", string [all …]
|
| D | index_negative.ets.arkts2.json | 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 94 … "rule": "The index expression must be zero or positive value.(arkts-array-index-negative)", string 104 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 114 … "rule": "The index expression must be zero or positive value.(arkts-array-index-negative)", string [all …]
|
| D | invalid_identifier.ets.arkts2.json | 24 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 34 … "rule": "Importing directly from \"JS\" module is not supported (arkts-interop-js2s-import-js)", string 44 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 54 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 64 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 74 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 84 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 94 …"rule": "The switch expression type must be of type char, byte, short, int, long, string or enum (… string 104 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string 114 "rule": "This keyword cannot be used as identifiers (arkts-invalid-identifier)", string [all …]
|
| D | swicth_expr.ets.arkts2.json | 24 …"rule": "The switch expression type must be of type char, byte, short, int, long, string or enum (… string 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 44 …"rule": "The switch expression type must be of type char, byte, short, int, long, string or enum (… string 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 …"rule": "The switch expression type must be of type char, byte, short, int, long, string or enum (… string 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string [all …]
|
| D | sendable_class_interface_property.ets.json | 24 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 34 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 44 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 54 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 64 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 74 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 84 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 94 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 104 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string 114 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… string [all …]
|
| D | sendable_explicit_field_type.ets.json | 24 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 34 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 44 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 54 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 74 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 84 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 94 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 104 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string 114 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… string [all …]
|
| D | numeric_semantics2.ets.arkts2.json | 24 …"rule": "Non-declaration statements in namespaces are not supported (single semicolons are conside… string 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 …"rule": "Non-declaration statements in namespaces are not supported (single semicolons are conside… string 114 …"rule": "Non-declaration statements in namespaces are not supported (single semicolons are conside… string [all …]
|
| D | property_access_by_index.ets.arkts2.json | 24 … "rule": "Sendable containers are not supported (arkts-no-need-stdlib-sendable-containers)", string 34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", string 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", string 54 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string [all …]
|
| D | literals_as_prop_names.ets.arkts2.json | 24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 44 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 64 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", string 94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", string 104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", string 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string [all …]
|
| D | es_object.ets.arkts2.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 44 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 54 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 64 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 74 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 84 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 94 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 104 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string 114 "rule": "Usage of 'ESValue' type is restricted (arkts-limited-esobj)", string [all …]
|
| D | utility_types.ets.json | 24 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 34 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 44 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 54 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 74 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 94 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 114 "rule": "Some of utility types are not supported (arkts-no-utility-types)", string [all …]
|
| D | class_as_object.ets.json | 22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 62 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", string 72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 92 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", string 102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string [all …]
|
| D | destructuring_assignments.ets.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 44 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", string 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 64 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", string 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 84 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", string 94 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… string 104 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", string 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string [all …]
|
| D | array_index_expr_type.ets.arkts2.json | 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 64 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 74 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 84 "rule": "The index expression must be of a numeric type (arkts-array-index-expr-type)", string 94 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 104 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 114 "rule": "The index expression must be of a numeric type (arkts-array-index-expr-type)", string [all …]
|
| D | no_tuples_arrays.ets.arkts2.json | 24 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 34 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", string 64 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 94 "rule": "Array bound not checked. (arkts-runtime-array-check)", string 104 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 114 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", string [all …]
|
| D | object_literals_autofixes.ets.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 44 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 54 … "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)", string 64 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 74 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 114 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string [all …]
|
| D | limited_stdlib_api.ets.json | 24 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 34 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 44 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 54 "rule": "\"globalThis\" is not supported (arkts-no-globalthis)", string 64 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 74 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 84 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 94 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 104 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 114 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string [all …]
|
| D | object_literals_properties.ets.arkts2.json | 24 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 34 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)", string 44 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 64 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)", string 74 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 94 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)", string 104 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string 114 "rule": "Numeric semantics is different for integer values (arkts-numeric-semantic)", string [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | quoted_hyphen_props_deprecated_sdk.ets.arkts2.json | 24 …"rule": "Object property names must be valid identifiers.Single-quoted and hyphenated properties a… string 34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 44 …"rule": "Object property names must be valid identifiers.Single-quoted and hyphenated properties a… string 54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 64 …"rule": "Object property names must be valid identifiers.Single-quoted and hyphenated properties a… string 74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 84 …"rule": "Object property names must be valid identifiers.Single-quoted and hyphenated properties a… string 94 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string 104 …"rule": "Object property names must be valid identifiers.Single-quoted and hyphenated properties a… string 114 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… string [all …]
|