Skip to content

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

feature/lisasiliu/view-student-profile-v2

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

Triggered via pull request December 6, 2024 01:59
Status Failure
Total duration 1m 55s
Artifacts

lint-check.yml

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

Annotations

1 error and 22 warnings
Frontend lint and style check
Process completed with exit code 1.
Backend lint and style check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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#L97
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L99
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L122
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L127
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/routes/image.ts#L12
Promise returned in function argument where a void return was expected
Backend lint and style check: backend/src/routes/progressNote.ts#L13
Promise returned in function argument where a void return was expected
Frontend lint and style check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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#L47
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/AttendanceCard.tsx#L49
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/AttendanceTable.tsx#L77
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/components/LoadingSpinner.tsx#L24
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/pages/attendance.tsx#L10
`@/contexts/user` import should occur before import of `@/hooks/redirect`
Frontend lint and style check: frontend/src/pages/create_user.tsx#L118
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/pages/create_user.tsx#L119
Unsafe assignment of an `any` value