| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | class_as_object.ts.arkts2.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 64 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", string 74 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 84 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", string 94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 104 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", string 114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string [all …]
|
| D | limited_stdlib_api.ts.arkts2.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": "\"globalThis\" is not supported (arkts-no-globalthis)", string 54 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string 64 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 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": "Usage of standard library is restricted (arkts-limited-stdlib)", string 104 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 114 "rule": "Usage of standard library is restricted (arkts-limited-stdlib)", string [all …]
|
| D | type_literals.ts.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 | sendable_class_interface_property.ts.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.ts.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 | utility_types.ts.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 | destructuring_assignments.ts.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 | object_literals_autofixes.ts.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 | function_expression.ts.json | 24 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 34 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 54 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 64 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 74 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 84 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 94 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 104 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string 114 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", string [all …]
|
| D | function_object_methods.ts.arkts2.json | 24 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", string 34 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 44 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", string 54 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 64 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 74 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", string 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 104 … "rule": "'Function.apply', 'Function.call' are not supported (arkts-no-func-apply-call)", string 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string [all …]
|
| D | unique_names.ts.json | 24 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 34 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 44 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 54 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 64 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 74 … "rule": "Classes cannot be specified in \"implements\" clause (arkts-implements-only-iface)", string 84 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 94 "rule": "Declaration merging is not supported (arkts-no-decl-merging)", string 104 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 114 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string [all …]
|
| D | functions.ts.json | 24 "rule": "Nested functions are not supported (arkts-no-nested-funcs)", string 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 54 "rule": "Generator functions are not supported (arkts-no-generators)", string 64 "rule": "Generator functions are not supported (arkts-no-generators)", string 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 104 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", string 114 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.", string [all …]
|
| D | es_object.ts.arkts2.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 44 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 54 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 64 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 74 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 84 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 94 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 104 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 114 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string [all …]
|
| D | optional_library_types.ts.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": "Function return type inference is limited (arkts-no-implicit-return-types)", string 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 74 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", string 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 104 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", string 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string [all …]
|
| D | es_object.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 44 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 54 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 64 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 74 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 84 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 94 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 104 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 114 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string [all …]
|
| D | structural_identity.ts.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 | function_object_methods.ts.json | 24 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", string 34 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 44 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", string 54 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 64 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 74 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 94 … "rule": "'Function.apply', 'Function.call' are not supported (arkts-no-func-apply-call)", string 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 114 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", string [all …]
|
| D | destructuring_declarations.ts.json | 24 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", string 34 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 44 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", string 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 64 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 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": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 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 | structural_identity.ts.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": "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 | limited_stdlib_api.ts.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 | private_identifiers.ts.json | 24 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 34 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 44 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 54 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 64 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 74 "rule": "Use unique names for types and namespaces. (arkts-unique-names)", string 84 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", string 94 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", string 104 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", string 114 … "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)", string [all …]
|
| D | types.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "\"Symbol()\" API is not supported (arkts-no-symbol)", string 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 54 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", string 74 "rule": "Indexed access types are not supported (arkts-no-aliases-by-index)", string 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 104 "rule": "Nested functions are not supported (arkts-no-nested-funcs)", string 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string [all …]
|
| D | sendable_no_structural_typing.ts.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": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… string 74 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… string 84 …"rule": "Object literal must correspond to some explicitly declared class or interface (arkts-no-u… 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 …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule5.ts.json | 24 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 34 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 44 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 54 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 64 "rule": "\"for .. in\" is not supported (arkts-no-for-in)", string 74 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 84 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 94 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 104 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", string 114 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", string [all …]
|
| D | rule151.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", string 34 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 44 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 54 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 64 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 74 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 84 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 94 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 104 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string 114 "rule": "Usage of 'ESObject' type is restricted (arkts-limited-esobj)", string [all …]
|