Update Linting #1244
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.
|