fix: lint and typechecks #13
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
|