Skip to content

Feature/pratyush1718/counselor get route #99

Feature/pratyush1718/counselor get route

Feature/pratyush1718/counselor get route #99

Triggered via pull request March 1, 2025 18:40
Status Failure
Total duration 31s
Artifacts

lint-check.yml

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

Annotations

10 errors and 2 warnings
Backend lint and style check: backend/src/app.ts#L47
'next' is defined but never used. Allowed unused args must match /^_/u
Backend lint and style check: backend/src/app.ts#L67
Invalid type "string | 3001" of template literal expression
Backend lint and style check: backend/src/controllers/announcement.ts#L3
Async arrow function 'createAnnouncement' has no 'await' expression
Backend lint and style check: backend/src/controllers/announcement.ts#L11
Async arrow function 'editAnnouncement' has no 'await' expression
Backend lint and style check: backend/src/controllers/announcement.ts#L19
Async arrow function 'deleteAnnouncement' has no 'await' expression
Backend lint and style check: backend/src/controllers/announcement.ts#L27
Async arrow function 'getMultipleAnnouncements' has no 'await' expression
Backend lint and style check: backend/src/controllers/announcement.ts#L35
Async arrow function 'getIndividualAnnouncementDetails' has no 'await' expression
Backend lint and style check: backend/src/controllers/user.ts#L2
'mongoose' is defined but never used. Allowed unused vars must match /^_/u
Backend lint and style check: backend/src/controllers/user.ts#L56
'users' is already declared in the upper scope on line 12 column 7
Backend lint and style check: backend/src/controllers/user.ts#L82
Async arrow function 'getPersonalInformation' has no 'await' expression
Backend lint and style check: backend/src/app.ts#L2
`mongoose` import should occur after import of `http-errors`
Backend lint and style check: backend/src/controllers/user.ts#L2
There should be at least one empty line between import groups