Skip to content

Feature/andrewzpu/program profile pages #261

Feature/andrewzpu/program profile pages

Feature/andrewzpu/program profile pages #261

Triggered via pull request June 15, 2024 15:23
Status Failure
Total duration 1m 23s
Artifacts

lint-check.yml

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

Annotations

8 errors and 19 warnings
Backend lint and style check: backend/src/routes/program.ts#L7
Parse errors in imported module '../controllers/program': 'try' expected. (88:2)
Backend lint and style check: backend/src/routes/program.ts#L14
Unsafe argument of type `any` assigned to a parameter of type `RequestHandler<{ id: string; }, any, any, ParsedQs, Record<string, any>>`
Backend lint and style check: backend/src/routes/program.ts#L15
Unsafe argument of type `any` assigned to a parameter of type `RequestHandler<{}, any, any, ParsedQs, Record<string, any>>`
Backend lint and style check: backend/src/routes/program.ts#L17
Unsafe argument of type `any` assigned to a parameter of type `RequestHandler<{ id: string; }, any, any, ParsedQs, Record<string, any>>`
Backend lint and style check: backend/src/validators/program.ts#L4
Parse errors in imported module '../controllers/program': 'try' expected. (88:2)
Backend lint and style check
Process completed with exit code 1.
Frontend lint and style check: frontend/src/pages/programs.tsx#L5
Parse errors in imported module '../components/ProgramCard': Unexpected token. Did you mean `{'}'}` or `&rbrace;`? (343:0)
Frontend lint and style check
Process completed with exit code 1.
Backend lint and style check
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/.
Backend lint and style check: backend/src/controllers/user.ts#L102
Unsafe assignment of an `any` value
Backend lint and style check: backend/src/controllers/user.ts#L104
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/controllers/user.ts#L132
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
Backend lint and style check: backend/src/routes/progressNote.ts#L27
Promise returned in function argument where a void return was expected
Backend lint and style check: backend/src/routes/progressNote.ts#L30
Promise returned in function argument where a void return was expected
Backend lint and style check: backend/src/routes/user.ts#L11
Promise returned in function argument where a void return was expected
Backend lint and style check: backend/src/routes/user.ts#L13
Promise returned in function argument where a void return was expected
Frontend lint and style check
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/.
Frontend lint and style check: frontend/src/api/user.ts#L49
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/api/user.ts#L67
Unsafe assignment of an `any` value
Frontend lint and style check: frontend/src/api/user.ts#L87
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/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
Frontend lint and style check: frontend/src/pages/create_user.tsx#L120
Unsafe assignment of an `any` value