Skip to content

Migrate ESLint to v9 #318

Migrate ESLint to v9

Migrate ESLint to v9 #318

Triggered via pull request November 11, 2024 11:07
Status Failure
Total duration 1m 25s
Artifacts

pull_request.yaml

on: pull_request
Lint backend and frontend
1m 16s
Lint backend and frontend
Matrix: test_end_to_end
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint backend and frontend: services/backend/src/database/connection.ts#L121
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Lint backend and frontend: services/backend/src/middleware/accessLogger.ts#L43
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Lint backend and frontend: services/backend/src/middleware/accessLogger.ts#L46
Use a ! assertion to more succinctly remove null and undefined from the type
Lint backend and frontend: services/backend/src/middleware/accessLogger.ts#L51
Use a ! assertion to more succinctly remove null and undefined from the type
Lint backend and frontend: services/backend/src/middleware/auth.ts#L5
Async arrow function has no 'await' expression
Lint backend and frontend: services/backend/src/middleware/currentUser.ts#L76
Use a ! assertion to more succinctly remove null and undefined from the type
Lint backend and frontend: services/backend/src/middleware/currentUser.ts#L77
Use a ! assertion to more succinctly remove null and undefined from the type
Lint backend and frontend: services/backend/src/middleware/currentUser.ts#L96
Use a ! assertion to more succinctly remove null and undefined from the type
Lint backend and frontend: services/backend/src/routes.ts#L81
Async arrow function has no 'await' expression
Lint backend and frontend: services/backend/src/routes/login.ts#L8
Async arrow function has no 'await' expression