Skip to content

fix: lint and typechecks #13

fix: lint and typechecks

fix: lint and typechecks #13

Triggered via pull request September 6, 2025 00:02
Status Failure
Total duration 27s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: packages/backend/src/enhanced-blacklists.ts#L415
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Lint: packages/backend/src/enhanced-blacklists.ts#L364
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Lint: packages/backend/src/enhanced-analyzer.ts#L285
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Lint: packages/backend/src/csp-parser.ts#L190
Don't use `null` as a type. Use 'undefined' instead of 'null'
Lint: packages/backend/src/csp-parser.ts#L80
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Lint: packages/backend/src/bypass-database.ts#L39
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `unknown`
Lint: packages/backend/src/bypass-database.ts#L9
Don't use `null` as a type. Use 'undefined' instead of 'null'
Lint: packages/backend/src/bypass-database.ts#L8
Don't use `null` as a type. Use 'undefined' instead of 'null'
Lint: packages/backend/src/blacklists.ts#L210
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Lint: packages/backend/src/blacklists.ts#L179
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly