fix lint error #4101
Annotations
9 errors and 3 warnings
Run eslint:
next.config.js#L10
'process' is not defined
|
Run eslint:
server/controllers/analytic.ts#L281
Replace `where:·{id:·data.sessionId}` with `·where:·{·id:·data.sessionId·}·`
|
Run eslint:
server/controllers/analytic.ts#L282
Replace `id:·data.userId` with `·id:·data.userId·`
|
Run eslint:
server/controllers/analytic.ts#L334
Replace `id:·data.sessionId},·{duration:·data.params?.duration` with `·id:·data.sessionId·},·{·duration:·data.params?.duration·`
|
Run eslint:
server/h5p/get-h5p-router.ts#L223
Replace `id:·contentId,·metadata` with `·id:·contentId,·metadata·`
|
Run eslint:
server/h5p/get-h5p-router.ts#L230
Replace `contentId,·metadata` with `·contentId,·metadata·`
|
Run eslint:
server/h5p/get-h5p-router.ts#L241
Replace `id:·contentId,·metadata` with `·id:·contentId,·metadata·`
|
Run eslint:
server/h5p/get-h5p-router.ts#L248
Replace `contentId,·metadata` with `·contentId,·metadata·`
|
Run eslint
Process completed with exit code 1.
|
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/middlewares/authenticate.ts#L1
'RequestHandler' is defined but never used
|
Loading