Merge pull request #100 from UoaWDCC/VPS-062/popup-screen #155
eslint.yml
on: push
Run linters frontend
1m 15s
Run linters backend
31s
Annotations
13 errors and 3 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:
frontend/src/containers/pages/ScenarioSelectionPage.js#L22
'useState' is not defined
|
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
|