Skip to content

Fixed lint errors

Fixed lint errors #6

Triggered via push June 24, 2024 17:05
Status Failure
Total duration 45s
Billable time 1m
Artifacts

ci.yml

on: push
TypeScript Tests
33s
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/decorators.ts#L63
Missing return type on function
TypeScript Tests: server/src/common/response.ts#L10
Unexpected any. Specify a different type
TypeScript Tests: server/src/common/response.ts#L46
Expected property shorthand
TypeScript Tests: server/src/database/index.ts#L95
Unexpected `await` of a non-Promise (non-"Thenable") value
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#L256
Forbidden non-null assertion
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L289
Forbidden non-null assertion
TypeScript Tests: server/src/routes/qr_codes/qr_code_handlers.ts#L289
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