Skip to content

strenghten the eslint rules #129

strenghten the eslint rules

strenghten the eslint rules #129

Triggered via pull request November 10, 2025 21:00
Status Failure
Total duration 2m 18s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors
prettier
Process completed with exit code 1.
build (18.x): src/index.ts#L1172
Type '{}' cannot be used as an index type.
build (18.x): src/index.ts#L1146
Property 'toLowerCase' does not exist on type '{}'.
build (18.x): src/index.ts#L604
Argument of type 'unknown' is not assignable to parameter of type 'Record<string, unknown>'.
build (18.x): src/index.ts#L323
Cannot find namespace 'OpenAPIV3'.
build (18.x): src/extract-tools.ts#L363
Conversion of type 'Document<{}>' to type 'Record<string, unknown>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/extract-tools.ts#L361
Conversion of type 'AAPOperationObject' to type 'Record<string, unknown>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/extract-tools.ts#L85
Conversion of type 'Document<{}>' to type 'Record<string, unknown>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/extract-tools.ts#L65
Conversion of type 'AAPOperationObject' to type 'Record<string, unknown>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/extract-tools.ts#L37
Property 'x-ai-description' does not exist on type 'Partial<{ tags?: string[] | undefined; summary?: string | undefined; description?: string | undefined; externalDocs?: ExternalDocumentationObject | undefined; ... 7 more ...; servers?: ServerObject[] | undefined; }>'. Did you mean 'description'?
build (18.x): src/extract-tools.test.ts#L145
Argument of type '{ operationId: string; "x-ai-description": string; summary: string; description: string; parameters: { name: string; in: string; required: boolean; schema: { type: string; }; }[]; requestBody: { content: { ...; }; }; security: { ...; }[]; responses: { ...; }; }' is not assignable to parameter of type 'Partial<{ tags?: string[] | undefined; summary?: string | undefined; description?: string | undefined; externalDocs?: ExternalDocumentationObject | undefined; ... 7 more ...; servers?: ServerObject[] | undefined; }>'.
build (22.x)
The strategy configuration was canceled because "build._18_x" failed
build (20.x)
The strategy configuration was canceled because "build._18_x" failed
build (20.x)
The operation was canceled.