Skip to content

chore(deps): update dependency eslint-config-love to v101 - autoclosed #383

chore(deps): update dependency eslint-config-love to v101 - autoclosed

chore(deps): update dependency eslint-config-love to v101 - autoclosed #383

Triggered via pull request November 19, 2024 15:51
Status Failure
Total duration 26s
Artifacts

test.yml

on: pull_request
Build and Test
16s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build and Test: src/main.spec.ts#L19
Unsafe type assertion: type 'PushEvent[]' is more narrow than the original type
Build and Test: src/main.spec.ts#L27
Unsafe type assertion: type 'PullRequestEvent[]' is more narrow than the original type
Build and Test: src/main.spec.ts#L118
Unsafe type assertion: type 'PushEvent' is more narrow than the original type
Build and Test: src/main/fetchEvent.spec.ts#L8
Unsafe type assertion: type 'Mocked<typeof import("fs")>' is more narrow than the original type
Build and Test: src/main/fetchEvent.ts#L12
Unsafe cast from `any` detected: consider using type guards or a safer cast
Build and Test: src/pr/index.spec.ts#L16
Unsafe type assertion: type 'PullRequestEvent[]' is more narrow than the original type
Build and Test: src/pr/parsePullRequest.spec.ts#L23
Unsafe type assertion: type 'PullRequestEvent[]' is more narrow than the original type
Build and Test: src/pr/postComments.spec.ts#L28
Unsafe type assertion: type 'PullRequestEvent[]' is more narrow than the original type
Build and Test: src/pr/postComments.spec.ts#L113
Unsafe type assertion: type 'Response' is more narrow than the original type
Build and Test: src/pr/postComments.spec.ts#L168
Unsafe type assertion: type 'PullRequestEvent' is more narrow than the original type
Build and Test: src/common/stdout.spec.ts#L15
'process.stdout' will use Object's default stringification format ('[object Object]') when stringified
Build and Test: src/common/stdout.spec.ts#L17
'process.stdout' will use Object's default stringification format ('[object Object]') when stringified
Build and Test: src/main.ts#L33
Unexpected object value in conditional. The condition is always true
Build and Test: src/main.ts#L33
Unnecessary conditional, value is always truthy
Build and Test: src/main.ts#L48
Unexpected object value in conditional. The condition is always true
Build and Test: src/main.ts#L48
Unnecessary conditional, value is always truthy
Build and Test: src/main/getConfigs.ts#L133
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Build and Test: src/main/getConfigs.ts#L133
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Build and Test: src/main/getConfigs.ts#L133
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Build and Test: src/main/getConfigs.ts#L133
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator