Skip to content

React update

React update #182

Triggered via push October 3, 2024 22:18
Status Failure
Total duration 2m 11s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 12 warnings
test (ubuntu-latest): src/ViewManager.jsx#L4
`react-router-dom` import should occur before import of `./routes/Root`
test (ubuntu-latest): src/ViewManager.jsx#L4
'useLocation' is defined but never used
test (ubuntu-latest): src/ViewManager.jsx#L26
Unexpected use of 'name'
test (ubuntu-latest): src/api/project/ProjectController.jsx#L3
Dependency cycle via ../validators/Validator:5
test (ubuntu-latest): src/main/main.ts#L378
Replace `event,·nodeType,·nodeTitle,·parentId,·iterationId,·trelloData,·trelloAuth` with `⏎····event,⏎····nodeType,⏎····nodeTitle,⏎····parentId,⏎····iterationId,⏎····trelloData,⏎····trelloAuth,⏎··`
test (ubuntu-latest): src/pages/ProjectPage/ProjectPage.jsx#L175
'trelloAuth' is assigned a value but never used
test (ubuntu-latest): src/pages/ProjectPage/ProjectPage.jsx#L281
Replace `⏎······propertyToUpdate,⏎······nodeId,⏎······newValue,⏎····` with `propertyToUpdate,·nodeId,·newValue`
test (ubuntu-latest): src/pages/ProjectPage/ProjectPage.jsx#L342
Each then() should return a value or throw
test (ubuntu-latest): src/pages/ProjectPage/ProjectPage.jsx#L357
Each then() should return a value or throw
test (ubuntu-latest): src/pages/ProjectPage/ProjectPage.jsx#L370
Each then() should return a value or throw
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test (windows-latest)
The operation was canceled.
test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
test (macos-latest)
The operation was canceled.
test (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
test (ubuntu-latest): src/components/APIKeyInput/APIKeyInput.jsx#L30
Unexpected console statement
test (ubuntu-latest): src/components/PictureWall/PictureWall.jsx#L67
Unexpected console statement
test (ubuntu-latest): src/components/Timer/timer.jsx#L24
Unexpected console statement
test (ubuntu-latest): src/components/Timer/timer.jsx#L30
Unexpected console statement
test (ubuntu-latest): src/main/main.ts#L131
Unexpected unnamed function
test (ubuntu-latest): src/main/main.ts#L179
Avoid nesting promises
test (ubuntu-latest): src/main/main.ts#L180
Avoid nesting promises
test (ubuntu-latest): src/main/main.ts#L302
Unexpected unnamed function
test (ubuntu-latest): src/main/main.ts#L308
Unexpected unnamed function