Skip to content

Update Linting

Update Linting #1244

Triggered via pull request July 6, 2024 04:27
Status Failure
Total duration 1m 2s
Artifacts

cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: src/db.ts#L12
Returning an awaited promise is not allowed in this context.
lint: src/db.ts#L16
Returning an awaited promise is not allowed in this context.
lint: src/discord/index.ts#L94
Returning an awaited promise is required in this context.
lint: src/discord/index.ts#L114
Returning an awaited promise is required in this context.
lint: src/discord/index.ts#L142
Returning an awaited promise is required in this context.
lint: src/dota.ts#L78
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly.
lint: src/dota.ts#L91
Functions that return promises must be async.
lint: src/dota.ts#L180
Functions that return promises must be async.
lint: src/notify.ts#L10
Unexpected value in conditional. A boolean expression is required.
lint: src/notify.ts#L31
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly.