Skip to content

fix: precommit whitelist typescript files #12

fix: precommit whitelist typescript files

fix: precommit whitelist typescript files #12

Triggered via push September 5, 2025 23:31
Status Failure
Total duration 29s
Artifacts

validate.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Typecheck
Process completed with exit code 2.
Typecheck
Object is possibly 'undefined'.
Typecheck
Expected 1 arguments, but got 2.
Typecheck
Cannot find name '__dirname'.
Typecheck
Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
Lint: packages/backend/src/enhanced-blacklists.ts#L416
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
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#L8
Don't use `null` as a type. Use 'undefined' instead of 'null'
Lint: packages/backend/src/bypass-database.ts#L7
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