Skip to content

Fixed lint errors

Fixed lint errors #9

Triggered via push July 2, 2024 12:49
Status Failure
Total duration 40s
Billable time 1m
Artifacts

ci.yml

on: push
TypeScript Tests
31s
TypeScript Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
TypeScript Tests: server/src/auth/csrf.ts#L9
'request' is defined but never used. Allowed unused args must match /_.*/u
TypeScript Tests: server/src/auth/index.ts#L12
An interface declaring no members is equivalent to its supertype
TypeScript Tests: server/src/auth/index.ts#L20
'Express' is not defined
TypeScript Tests: server/src/auth/strategy/oauth2/strategy.ts#L43
Unexpected any. Specify a different type
TypeScript Tests: server/src/common/decorators.ts#L16
Unexpected any. Specify a different type
TypeScript Tests: server/src/common/response.ts#L10
Unexpected any. Specify a different type
TypeScript Tests: server/src/main.ts#L28
Missing return type on function
TypeScript Tests: server/src/main.ts#L47
Prefer async/await to Promise.catch()
TypeScript Tests: server/src/routes/auth/rememberUserReferrerForRedirect.ts#L1
Filename 'rememberUserReferrerForRedirect.ts' does not match the naming convention
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L101
Forbidden non-null assertion
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L259
Forbidden non-null assertion
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L292
Forbidden non-null assertion
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L292
Forbidden non-null assertion
TypeScript Tests: server/src/routes/user/user_handlers.ts#L16
Forbidden non-null assertion
TypeScript Tests: server/src/routes/user/user_handlers.ts#L17
Forbidden non-null assertion
TypeScript Tests: server/src/routes/user/user_handlers.ts#L27
Forbidden non-null assertion
TypeScript Tests: server/src/routes/user/user_handlers.ts#L60
Forbidden non-null assertion