optimize spine attach node logic. #136
Annotations
9 errors and 11 warnings
Run ESLint:
cocos/spine/skeleton.ts#L308
'any' overrides all other types in this union type
|
Run ESLint:
cocos/spine/skeleton.ts#L562
Trailing spaces not allowed
|
Run ESLint:
cocos/spine/skeleton.ts#L685
Block must not be padded by blank lines
|
Run ESLint:
cocos/spine/skeleton.ts#L1019
Unexpected if as the only statement in an else block
|
Run ESLint:
cocos/spine/skeleton.ts#L1615
'||' should be placed at the beginning of the line
|
Run ESLint:
cocos/spine/skeleton.ts#L1616
'||' should be placed at the beginning of the line
|
Run ESLint:
cocos/spine/skeleton.ts#L1618
Expected no linebreak before this statement
|
Run ESLint:
cocos/spine/skeleton.ts#L1618
Expected { after 'if' condition
|
Run ESLint
Process completed with exit code 1.
|
Run ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run ESLint:
cocos/spine/attach-util.ts#L41
Expected a space after the ':'
|
Run ESLint:
cocos/spine/attach-util.ts#L67
Expected space(s) after "if"
|
Run ESLint:
cocos/spine/skeleton.ts#L305
Expected a space after the ':'
|
Run ESLint:
cocos/spine/skeleton.ts#L307
Expected a space after the ':'
|
Run ESLint:
cocos/spine/skeleton.ts#L308
Expected a space after the ':'
|
Run ESLint:
cocos/spine/skeleton.ts#L309
Expected a space after the ':'
|
Run ESLint:
cocos/spine/skeleton.ts#L511
Expected space(s) after "if"
|
Run ESLint:
cocos/spine/skeleton.ts#L1019
Expected space(s) after "if"
|
Run ESLint:
cocos/spine/skeleton.ts#L1615
Expected '===' and instead saw '=='
|
Run ESLint:
cocos/spine/skeleton.ts#L1616
Expected '===' and instead saw '=='
|