CSV goes to mongoDB #157
eslint.yml
on: pull_request
Run linters frontend
1m 16s
Run linters backend
31s
Annotations
12 errors and 5 warnings
|
Run linters backend:
backend/src/db/daos/scenarioDao.js#L48
'previousName' is never reassigned. Use 'const' instead
|
Run linters backend:
backend/src/db/daos/scenarioDao.js#L52
Replace `scenario.name·==·""·||·scenario.name·==·null·||·scenario.name.trim()·===·'')·{·` with `⏎····scenario.name·==·""·||⏎····scenario.name·==·null·||⏎····scenario.name.trim()·===·""⏎··)·{`
|
Run linters backend:
backend/src/db/daos/scenarioDao.js#L52
Expected '===' and instead saw '=='
|
|
|
Run linters backend:
backend/src/db/daos/sceneDao.js#L84
'previousName' is never reassigned. Use 'const' instead
|
|
Run linters backend
Process completed with exit code 1.
|
Run linters frontend:
frontend/src/components/DraggableScene.js#L3
Unable to resolve path to module 'react-dnd'
|
|
Run linters frontend
Process completed with exit code 1.
|
Run linters backend
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 linters frontend
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 linters frontend:
frontend/src/components/DraggableScene.js#L5
'scene' is defined but never used
|
Run linters frontend:
frontend/src/components/newUID.js#L1
'React' is defined but never used
|
Run linters frontend:
frontend/src/containers/pages/SceneSelectionPage.js#L53
'newUser' is assigned a value but never used
|