Skip to content

feature/lisasiliu/view-student-profile-v2 #269

feature/lisasiliu/view-student-profile-v2

feature/lisasiliu/view-student-profile-v2 #269

Triggered via pull request November 7, 2024 23:48
Status Success
Total duration 1m 33s
Artifacts

lint-check.yml

on: pull_request
Backend lint and style check
22s
Backend lint and style check
Frontend lint and style check
1m 23s
Frontend lint and style check
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Backend lint and style check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Backend lint and style check: backend/src/controllers/session.ts#L223
Promise-returning function provided to variable where a void return was expected
Backend lint and style check: backend/src/controllers/session.ts#L250
Promise-returning function provided to variable where a void return was expected
Backend lint and style check: backend/src/controllers/session.ts#L285
Promise-returning function provided to variable where a void return was expected
Backend lint and style check: backend/src/controllers/session.ts#L300
Promise-returning function provided to variable where a void return was expected
Backend lint and style check: backend/src/controllers/user.ts#L103
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L105
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L128
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L133
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/routes/progressNote.ts#L13
Promise returned in function argument where a void return was expected
Backend lint and style check: backend/src/routes/progressNote.ts#L20
Promise returned in function argument where a void return was expected
Frontend lint and style check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Frontend lint and style check: frontend/src/api/user.ts#L50
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/api/user.ts#L68
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/api/user.ts#L88
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/AttendanceCard.tsx#L41
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/AttendanceCard.tsx#L43
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/AttendanceTable.tsx#L75
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/LoadingSpinner.tsx#L12
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/StudentProfilePrintComponent.tsx#L3
There should be at least one empty line between import groups
Frontend lint and style check: frontend/src/components/StudentProfilePrintComponent.tsx#L40
'formatDate' was used before it was defined
Frontend lint and style check: frontend/src/components/StudentProfilePrintComponent.tsx#L41
'formatDate' was used before it was defined