Skip to content

Feature/wf sust

Feature/wf sust #78

Triggered via pull request April 11, 2025 14:54
Status Failure
Total duration 28s
Artifacts

frontend-ci.yml

on: pull_request
Run Linting (ESLint & Prettier)
24s
Run Linting (ESLint & Prettier)
Run Frontend Tests (Jest)
24s
Run Frontend Tests (Jest)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Run Linting (ESLint & Prettier): client/src/SelectRoute.js#L48
React Hook useEffect has missing dependencies: 'getSustainabilityScore' and 'scores'. Either include them or remove the dependency array
Run Linting (ESLint & Prettier): client/src/SelectRoute.js#L46
Unexpected use of 'print'
Run Linting (ESLint & Prettier): client/src/SelectRoute.js#L44
'getSustainabilityScore' was used before it was defined
Run Linting (ESLint & Prettier): client/src/SelectRoute.js#L41
Unary operator '++' used
Run Linting (ESLint & Prettier): client/src/Map.js#L191
Expected exception block, space or tab after '//' in comment
Run Linting (ESLint & Prettier): client/src/Map.js#L190
'weatherBikePollIncident' is assigned a value but never used
Run Linting (ESLint & Prettier): client/src/Map.js#L173
Expected exception block, space or tab after '//' in comment
Run Linting (ESLint & Prettier): client/src/Map.js#L35
'setPollingFlag' is assigned a value but never used
Run Linting (ESLint & Prettier): client/src/Map.js#L35
'pollingFlag' is assigned a value but never used
Run Linting (ESLint & Prettier): client/src/DisplayRoute.js#L105
Unnecessary 'else' after 'return'
Run Linting (ESLint & Prettier): client/src/FindRoute.js#L72
Unexpected console statement
Run Linting (ESLint & Prettier): client/src/DisplayRoute.js#L171
Unexpected console statement
Run Linting (ESLint & Prettier): client/src/DisplayRoute.js#L158
Unexpected console statement
Run Linting (ESLint & Prettier): client/src/DisplayRoute.js#L56
Unexpected console statement
Run Linting (ESLint & Prettier): client/src/DisplayRoute.js#L52
Unexpected console statement