Skip to content

chore(client): update Dojo integration #14

chore(client): update Dojo integration

chore(client): update Dojo integration #14

Triggered via push October 2, 2024 02:35
Status Failure
Total duration 59s
Artifacts

client_ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
node: client/src/components/ControlWindows/GameAccount.tsx#L92
Unexpected empty arrow function
node: client/src/components/ControlWindows/GameAccount.tsx#L100
'mainPage' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L219
'profilePage' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L224
'pages' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L228
'lastPage' is never reassigned. Use 'const' instead
node: client/src/components/Dice.tsx#L56
'rollAmount' is never reassigned. Use 'const' instead
node: client/src/components/Dice.tsx#L62
Type number trivially inferred from a number literal, remove type annotation
node: client/src/components/Dice.tsx#L80
'x' is never reassigned. Use 'const' instead
node: client/src/components/RestartGame.tsx#L35
Mixed spaces and tabs
node: client/src/context/board-context.tsx#L12
Unexpected empty method 'toggleBoard'
node
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/
node
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node: client/src/App.tsx#L55
Unexpected any. Specify a different type
node: client/src/components/Control.tsx#L69
'windows' is assigned a value but never used
node: client/src/components/Control.tsx#L69
'setWindows' is assigned a value but never used
node: client/src/components/ControlWindows/ControlWindowLayout.tsx#L2
'Draggable' is defined but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L13
'createGameProfile' is defined but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L42
'ProfilePage' is assigned a value but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L48
'chain' is assigned a value but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L55
'setPagesStack' is assigned a value but never used
node: client/src/components/OptionCard.tsx#L11
Unexpected any. Specify a different type
node: client/src/context/game-context.tsx#L5
Unexpected any. Specify a different type