Skip to content

chore(deps): update dependency eslint-config-love to v109 - autoclosed #395

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

chore(deps): update dependency eslint-config-love to v109 - autoclosed #395

Triggered via pull request November 30, 2024 10:44
Status Failure
Total duration 27s
Artifacts

test.yml

on: pull_request
Build and Test
17s
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.ts#L7
Async arrow function has a complexity of 7. Maximum allowed is 5
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/main/getConfigs.ts#L78
Arrow function has a complexity of 13. Maximum allowed is 5
Build and Test: src/main/getConfigs.ts#L129
Arrow function has a complexity of 6. Maximum allowed is 5
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/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