| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ |
| D | CookBookMsg.ts | 25 cookBookTag[2] = '"Symbol()" API is not supported (arkts-no-symbol)'; 26 cookBookTag[3] = 'Private "#" identifiers are not supported (arkts-no-private-identifiers)'; 28 cookBookTag[5] = 'Use "let" instead of "var" (arkts-no-var)'; 31 cookBookTag[8] = 'Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)'; 37 cookBookTag[14] = 'Use "class" instead of a type with call signature (arkts-no-call-signatures)'; 38 cookBookTag[15] = 'Use "class" instead of a type with constructor signature (arkts-no-ctor-signatur… 39 cookBookTag[16] = 'Only one static block is supported (arkts-no-multiple-static-blocks)'; 40 cookBookTag[17] = 'Indexed signatures are not supported (arkts-no-indexed-signatures)'; 42 cookBookTag[19] = 'Use inheritance instead of intersection types (arkts-no-intersection-types)'; 44 cookBookTag[21] = 'Type notation using "this" is not supported (arkts-no-typing-with-this)'; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_class_interface_property.ts.json | 424 …an be initialized only with compile time expressions of the same type (arkts-no-enum-mixed-types)", 434 …an be initialized only with compile time expressions of the same type (arkts-no-enum-mixed-types)", 563 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.… 564 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.", 573 …"suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.… 574 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.", 583 …"suggest": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.… 584 … "rule": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.", 593 …"suggest": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.… 594 … "rule": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.", [all …]
|
| D | arkui_decorators.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use inheritance instead of intersection types (arkts-no-intersection-types)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| D | object_literals.ts.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 104 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 114 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | class_as_object.ts.arkts2.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 64 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", 74 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 84 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 104 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)", 114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| D | utility_types.ts.json | 24 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 34 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 44 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 54 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 64 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 74 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 "rule": "Some of utility types are not supported (arkts-no-utility-types)", 104 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 114 "rule": "Some of utility types are not supported (arkts-no-utility-types)", [all …]
|
| D | sendable_no_structural_typing.ts.json | 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 64 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 74 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | destructuring_declarations.ts.json | 24 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 34 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 44 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 54 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 64 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 74 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", 104 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 114 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | private_identifiers.ts.json | 84 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 94 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 104 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 114 … "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)", 124 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 134 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 144 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 154 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 164 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", 174 "rule": "Private \"#\" identifiers are not supported (arkts-no-private-identifiers)", [all …]
|
| D | optional_library_types.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| D | structural_identity.ts.arkts2.json | 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 74 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | destructuring_assignments.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", 54 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 64 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", 74 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 84 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", 94 …arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)", 104 "rule": "Destructuring assignment is not supported (arkts-no-destruct-assignment)", 114 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | object_literals_2.ts.autofix.json | 36 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 46 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 56 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 66 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 76 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 86 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 96 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 106 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 116 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 126 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | object_literals_2.ts.json | 24 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 34 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 44 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 54 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 64 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 74 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 104 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 114 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | prototype_assignment.ts.json | 24 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", 34 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 44 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Prototype assignment is not supported (arkts-no-prototype-assignment)", 74 "rule": "Prototype assignment is not supported (arkts-no-prototype-assignment)", 84 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 94 … "rule": "Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Nested functions are not supported (arkts-no-nested-funcs)", [all …]
|
| D | structural_identity.ts.json | 24 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 34 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 44 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 54 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 64 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 74 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 84 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 94 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 104 "rule": "Structural typing is not supported (arkts-no-structural-typing)", 114 "rule": "Structural typing is not supported (arkts-no-structural-typing)", [all …]
|
| D | function_object_methods.ts.arkts2.json | 24 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", 34 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", 44 "rule": "Reassigning object methods is not supported (arkts-no-method-reassignment)", 54 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", 64 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", 74 "rule": "'Function.bind' is not supported (arkts-no-func-bind)", 84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 … "rule": "'Function.apply', 'Function.call' are not supported (arkts-no-func-apply-call)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| 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 | object_literals_autofixes.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 44 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 54 … "rule": "Definite assignment assertions are not supported (arkts-no-definite-assignment)", 64 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 74 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 84 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 94 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 104 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… 114 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals… [all …]
|
| D | generators.ts.json | 24 "rule": "Generator functions are not supported (arkts-no-generators)", 34 "rule": "Generator functions are not supported (arkts-no-generators)", 44 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 54 "rule": "Generator functions are not supported (arkts-no-generators)", 64 "rule": "Generator functions are not supported (arkts-no-generators)", 74 "rule": "Generator functions are not supported (arkts-no-generators)", 84 "rule": "Generator functions are not supported (arkts-no-generators)", 94 "rule": "Generator functions are not supported (arkts-no-generators)", 104 "rule": "Generator functions are not supported (arkts-no-generators)", 114 "rule": "Generator functions are not supported (arkts-no-generators)", [all …]
|
| D | function_expression.ts.json | 24 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 34 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 64 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 74 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 84 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 94 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 104 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", 114 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)", [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule5.ts.json | 24 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 34 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 44 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 54 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 64 "rule": "\"for .. in\" is not supported (arkts-no-for-in)", 74 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 84 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 94 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 104 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 114 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", [all …]
|
| D | rule5.ts.autofix.json | 31 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 48 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 65 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 82 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 92 "rule": "\"for .. in\" is not supported (arkts-no-for-in)", 109 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 126 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 143 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 153 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)", 163 … "rule": "Destructuring variable declarations are not supported (arkts-no-destruct-decls)", [all …]
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_out_project/ |
| D | code-linter.json5 | 34 "@security/no-unsafe-aes": "error", 35 "@security/no-unsafe-hash": "error", 36 "@security/no-unsafe-mac": "warn", 37 "@security/no-unsafe-dh": "error", 38 "@security/no-unsafe-dsa": "error", 39 "@security/no-unsafe-ecdsa": "error", 40 "@security/no-unsafe-rsa-encrypt": "error", 41 "@security/no-unsafe-rsa-sign": "error", 42 "@security/no-unsafe-rsa-key": "error", 43 "@security/no-unsafe-dsa-key": "error", [all …]
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/ |
| D | code-linter.json5 | 34 "@security/no-unsafe-aes": "error", 35 "@security/no-unsafe-hash": "error", 36 "@security/no-unsafe-mac": "warn", 37 "@security/no-unsafe-dh": "error", 38 "@security/no-unsafe-dsa": "error", 39 "@security/no-unsafe-ecdsa": "error", 40 "@security/no-unsafe-rsa-encrypt": "error", 41 "@security/no-unsafe-rsa-sign": "error", 42 "@security/no-unsafe-rsa-key": "error", 43 "@security/no-unsafe-dsa-key": "error", [all …]
|