Skip to content

[fix] - repair some linting issues #166

[fix] - repair some linting issues

[fix] - repair some linting issues #166

Triggered via push May 10, 2024 01:09
Status Failure
Total duration 1m 9s
Artifacts

frontend.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
run-npm: frontend/src/API/api.ts#L15
Unnecessary try/catch wrapper
run-npm: frontend/src/API/api.ts#L25
Unnecessary try/catch wrapper
run-npm: frontend/src/Root.tsx#L1
'useNavigate' is defined but never used
run-npm: frontend/src/Root.tsx#L8
'Clock' is defined but never used
run-npm: frontend/src/Root.tsx#L11
'Video' is defined but never used
run-npm: frontend/src/components/navigation/NewSidebar.tsx#L3
'Outlet' is defined but never used
run-npm: frontend/src/components/navigation/NewSidebar.tsx#L3
'useNavigate' is defined but never used
run-npm: frontend/src/components/navigation/NewSidebar.tsx#L4
'Navbar' is defined but never used
run-npm: frontend/src/components/navigation/NewSidebar.tsx#L5
'Toaster' is defined but never used
run-npm: frontend/src/components/navigation/NewSidebar.tsx#L6
'TooltipProvider' is defined but never used
run-npm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-npm: frontend/src/API/announcements/announcementRequests.ts#L3
Unexpected any. Specify a different type
run-npm: frontend/src/API/announcements/announcementRequests.ts#L9
Unexpected any. Specify a different type
run-npm: frontend/src/API/api.ts#L24
Unexpected any. Specify a different type
run-npm: frontend/src/API/authenticateRequests.ts#L9
Unexpected any. Specify a different type
run-npm: frontend/src/API/courses/courseRequests.ts#L9
Unexpected any. Specify a different type
run-npm: frontend/src/API/tickets/ticketRequests.ts#L3
Unexpected any. Specify a different type
run-npm: frontend/src/API/tickets/ticketRequests.ts#L9
Unexpected any. Specify a different type
run-npm: frontend/src/API/tickets/ticketRequests.ts#L21
Unexpected any. Specify a different type
run-npm: frontend/src/authConfig.ts#L26
Unexpected any. Specify a different type
run-npm: frontend/src/authConfig.ts#L26
Unexpected any. Specify a different type