Skip to content

Fix the issue with the getClassName error under ES6 (#17660) #18367

Fix the issue with the getClassName error under ES6 (#17660)

Fix the issue with the getClassName error under ES6 (#17660) #18367

Triggered via push September 24, 2024 05:52
Status Failure
Total duration 3m 52s
Artifacts

web-quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Run ESLint: cocos/core/utils/js-typed.ts#L88
Invalid loop. Its body allows only one iteration
Run ESLint: cocos/core/utils/js-typed.ts#L139
Unexpected console statement
Run ESLint: cocos/core/utils/js-typed.ts#L259
Unsafe argument of type `any` assigned to a parameter of type `string`
Run ESLint: cocos/core/utils/js-typed.ts#L263
Unsafe argument of type `any` assigned to a parameter of type `string`
Run ESLint: cocos/core/utils/js-typed.ts#L306
Unsafe argument of type `any` assigned to a parameter of type `Record<string | number, any>`
Run ESLint: cocos/core/utils/js-typed.ts#L308
Unsafe argument of type `any` assigned to a parameter of type `Record<string | number, any>`
Run ESLint: cocos/core/utils/js-typed.ts#L326
Unsafe argument of type `any` assigned to a parameter of type `string`
Run ESLint: cocos/core/utils/js-typed.ts#L326
Unsafe argument of type `any` assigned to a parameter of type `boolean | undefined`
Run ESLint: cocos/core/utils/js-typed.ts#L380
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `unknown`
Run ESLint: cocos/core/utils/js-typed.ts#L385
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `unknown`
Run ESLint: cocos/core/utils/js-typed.ts#L105
This line has a length of 154. Maximum allowed is 150
Run ESLint: cocos/core/utils/js-typed.ts#L131
This line has a length of 189. Maximum allowed is 150
Run ESLint: cocos/core/utils/js-typed.ts#L137
This line has a length of 167. Maximum allowed is 150
Run ESLint: cocos/core/utils/js-typed.ts#L163
This line has a length of 159. Maximum allowed is 150
Run ESLint: cocos/core/utils/js-typed.ts#L187
This line has a length of 159. Maximum allowed is 150
Run ESLint: cocos/core/utils/js-typed.ts#L369
Invalid type "unknown" of template literal expression
Run ESLint: cocos/core/utils/js-typed.ts#L377
Invalid type "unknown" of template literal expression
Run ESLint: cocos/core/utils/js-typed.ts#L380
Invalid type "unknown" of template literal expression
Run ESLint: cocos/core/utils/js-typed.ts#L385
Invalid type "unknown" of template literal expression
Run ESLint: cocos/core/utils/js-typed.ts#L621
Unexpected unnamed function