Home
last modified time | relevance | path

Searched full:no (Results 1 – 25 of 2764) sorted by relevance

12345678910>>...111

/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dlambda-type-inference-no-ret-type-expected.txt15 "program": "lambda-type-inference-no-ret-type.ets"
20 "program": "lambda-type-inference-no-ret-type.ets"
124 "program": "lambda-type-inference-no-ret-type.ets"
129 "program": "lambda-type-inference-no-ret-type.ets"
143 "program": "lambda-type-inference-no-ret-type.ets"
148 "program": "lambda-type-inference-no-ret-type.ets"
169 "program": "lambda-type-inference-no-ret-type.ets"
174 "program": "lambda-type-inference-no-ret-type.ets"
201 "program": "lambda-type-inference-no-ret-type.ets"
206 "program": "lambda-type-inference-no-ret-type.ets"
[all …]
Dlambda-type-inference-arg-no-type-expected.txt15 "program": "lambda-type-inference-arg-no-type.ets"
20 "program": "lambda-type-inference-arg-no-type.ets"
124 "program": "lambda-type-inference-arg-no-type.ets"
129 "program": "lambda-type-inference-arg-no-type.ets"
143 "program": "lambda-type-inference-arg-no-type.ets"
148 "program": "lambda-type-inference-arg-no-type.ets"
169 "program": "lambda-type-inference-arg-no-type.ets"
174 "program": "lambda-type-inference-arg-no-type.ets"
201 "program": "lambda-type-inference-arg-no-type.ets"
206 "program": "lambda-type-inference-arg-no-type.ets"
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/
DruleSet.json9 "@ArkTS-eslint/no-regex-spaces-check": 2,
12 "@ArkTS-eslint/no-useless-backreference-check": 2,
15 "@ArkTS-eslint/no-unnecessary-boolean-literal-compare-check":2,
18 "@ArkTS-eslint/no-unsafe-optional-chaining-check": 2,
19 "@ArkTS-eslint/no-useless-escape-check": 2,
20 "@ArkTS-eslint/no-useless-catch-check": 2,
21 "@ArkTS-eslint/no-this-alias-check": 2,
22 "@ArkTS-eslint/no-non-null-assertion-check": 2,
23 "@ArkTS-eslint/no-misused-new-check": 2,
24 "@ArkTS-eslint/no-require-imports-check": 2,
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/consts/
DArkTS2Rules.ts159 [25, 'arkts-no-ctor-prop-decls'],
160 [29, 'arkts-no-props-by-index'],
161 [30, 'arkts-no-structural-typing'],
162 [34, 'arkts-no-inferred-generic-params'],
163 [37, 'arkts-no-regexp-literals'],
164 [111, 'arkts-no-enum-mixed-types'],
165 [137, 'arkts-no-globalthis'],
166 [139, 'arkts-no-func-props'],
167 [140, 'arkts-no-func-bind'],
169 [149, 'arkts-no-classes-as-obj'],
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DCookBookMsg.ts21 cookBookTag[2] = '"Symbol()" API is not supported (arkts-no-symbol)';
22 cookBookTag[3] = 'Private "#" identifiers are not supported (arkts-no-private-identifiers)';
24 cookBookTag[5] = 'Use "let" instead of "var" (arkts-no-var)';
27 cookBookTag[8] = 'Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)';
33 cookBookTag[14] = 'Use "class" instead of a type with call signature (arkts-no-call-signatures)';
34 cookBookTag[15] = 'Use "class" instead of a type with constructor signature (arkts-no-ctor-signatur…
35 cookBookTag[16] = 'Only one static block is supported (arkts-no-multiple-static-blocks)';
36 cookBookTag[17] = 'Indexed signatures are not supported (arkts-no-indexed-signatures)';
38 cookBookTag[19] = 'Use inheritance instead of intersection types (arkts-no-intersection-types)';
40 cookBookTag[21] = 'Type notation using "this" is not supported (arkts-no-typing-with-this)';
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Darkui_decorators.ets.json24 "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 …]
Dsendable_class_interface_property.ets.json424 …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 …]
Dstructural_identity.ets.arkts2.json24 "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)",
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)",
124 "rule": "Structural typing is not supported (arkts-no-structural-typing)",
[all …]
Dobject_literals.ets.json24 … "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 …]
Dutility_types.ets.json24 "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 …]
Dsendable_no_structural_typing.ets.json24 "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 …]
Ddestructuring_declarations.ets.json24 … "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 …]
Dnot_support_decorator.ets.json24 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)",
34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
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 …eral must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals…
83 …"suggest": "Property 'data' has no initializer and is not definitely assigned in the constructor.",
84 … "rule": "Property 'data' has no initializer and is not definitely assigned in the constructor.",
93 … "suggest": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
94 … "rule": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dprivate_identifiers.ets.json84 "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 …]
Dclass_as_object.ets.json22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
62 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)",
72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
92 … "rule": "\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)",
102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
[all …]
Doptional_library_types.ets.json24 "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 …]
Dfunction_object_methods.ets.arkts2.json24 "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": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
94 … "rule": "'Function.apply', 'Function.call' are not supported (arkts-no-func-apply-call)",
104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
114 "rule": "'Function.bind' is not supported (arkts-no-func-bind)",
[all …]
Dclass_static_init.ets.arkts2.json24 "rule": "The static property has no initializer (arkts-class-static-initialization)",
34 "rule": "The static property has no initializer (arkts-class-static-initialization)",
44 "rule": "The static property has no initializer (arkts-class-static-initialization)",
54 "rule": "The static property has no initializer (arkts-class-static-initialization)",
64 "rule": "The static property has no initializer (arkts-class-static-initialization)",
74 "rule": "The static property has no initializer (arkts-class-static-initialization)",
84 "rule": "The static property has no initializer (arkts-class-static-initialization)",
94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
104 "rule": "The static property has no initializer (arkts-class-static-initialization)",
114 "rule": "The static property has no initializer (arkts-class-static-initialization)",
[all …]
Dobject_literals_2.ets.migrate.json24 …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…
113 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dobject_literals_2.ets.json24 …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 …]
Dobject_literals_2.ets.autofix.json36 …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 …]
Dlimit_void_type.ets.arkts2.json24 "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)",
104 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)",
114 "rule": "Type \"void\" has no instances.(arkts-limited-void-type)",
[all …]
Ddestructuring_assignments.ets.json24 "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 …]
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule5.ets.json24 "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 …]
Drule5.ets.migrate.json24 "rule": "\"for .. in\" is not supported (arkts-no-for-in)",
34 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)",
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": "Use \"let\" instead of \"var\" (arkts-no-var)",
74 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)",
84 … "rule": "Use arrow functions instead of function expressions (arkts-no-func-expressions)",
94 "rule": "Function return type inference is limited (arkts-no-implicit-return-types)",
104 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)",
114 "rule": "Use \"let\" instead of \"var\" (arkts-no-var)",
[all …]

12345678910>>...111