Skip to content

Fix the issue with the getClassName error under ES6 #18361

Fix the issue with the getClassName error under ES6

Fix the issue with the getClassName error under ES6 #18361

Triggered via pull request September 23, 2024 05:51
Status Failure
Total duration 3m 49s
Artifacts

web-quality.yml

on: pull_request
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