feat: enable draft saving of game at each step #3998
Annotations
10 errors and 4 warnings
Run eslint:
server/controllers/game.ts#L52
Replace `(data:·any,·content:·ActivityContent,·activityId:·number)·=>·{⏎` with `·(data:·any,·content:·ActivityContent,·activityId:·number)·=>·{`
|
Run eslint:
server/controllers/game.ts#L54
Insert `·`
|
Run eslint:
server/controllers/game.ts#L55
Replace `(responses)` with `·(responses)·`
|
Run eslint:
server/controllers/game.ts#L56
Replace `.update(Activity).set({·data:·data,·content:·content·}).where('id·=·:activityId',·{·activityId·})` with `⏎······.update(Activity)⏎······.set({·data:·data,·content:·content·})⏎······.where('id·=·:activityId',·{·activityId·})⏎······`
|
Run eslint:
server/controllers/game.ts#L58
Insert `;`
|
Run eslint:
server/controllers/game.ts#L60
Replace `(userId:·number·,·villageId:·number·,·type:·number,·subType:·number)=>` with `·(userId:·number,·villageId:·number,·type:·number,·subType:·number)·=>·`
|
Run eslint:
server/controllers/game.ts#L61
Replace `.update(Activity).set({·status:·ActivityStatus.PUBLISHED})` with `⏎····.update(Activity)⏎····.set({·status:·ActivityStatus.PUBLISHED·})⏎····`
|
Run eslint:
server/controllers/game.ts#L62
Insert `··`
|
Run eslint:
server/controllers/game.ts#L63
Insert `··`
|
Run eslint:
server/controllers/game.ts#L64
Replace `····` with `······`
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run eslint:
server/controllers/game.ts#L52
Unexpected any. Specify a different type
|
Run eslint:
src/contexts/gameContext.tsx#L33
'_data' is defined but never used
|
Loading