Migrate ESLint to v9 #318
pull_request.yaml
on: pull_request
Lint backend and frontend
1m 16s
Matrix: test_end_to_end
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
|