Skip to content

#2028 Adding legacy code #13444

#2028 Adding legacy code

#2028 Adding legacy code #13444

Triggered via push December 19, 2024 15:13
Status Failure
Total duration 1m 50s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
lint
Cannot find module './flowDb.js' or its corresponding type declarations.
lint
Cannot find module './types.js' or its corresponding type declarations.
lint
Type '() => Promise<{ id: string; diagram: { db: any; renderer: { setConf: (cnf: any) => void; addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => void; addEdges: (edges: object, g: object, diagObj: any, svg: any) => void; getClasses: (text: any, diagObj: any) => Record<...>; draw: (text: an...' is not assignable to type 'DiagramLoader'.
lint
Cannot find module '../flowDb.js' or its corresponding type declarations.
lint
Cannot find module '../flowDb.js' or its corresponding type declarations.
lint
Module '"../../../Diagram.js"' has no exported member 'getDiagramFromText'.
lint
An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.
lint
Variable 'root' implicitly has type 'any' in some locations where its type cannot be determined.
lint
Variable 'doc' implicitly has type 'any' in some locations where its type cannot be determined.
lint
Cannot find name 'select'. Did you mean 'onselect'?
lint: packages/mermaid-layout-elk/src/render.ts#L499
Unknown word: "NODECOUNT"
lint: packages/mermaid-layout-elk/src/render.ts#L500
Unknown word: "topdown"
lint: packages/mermaid-layout-elk/src/render.ts#L530
Unknown word: "RIGHTDOWN"
lint: packages/mermaid-layout-elk/src/render.ts#L567
'count' is assigned a value but never used. Allowed unused vars must match /^_/u
lint: packages/mermaid-layout-elk/src/render.ts#L639
'copy' is assigned a value but never used. Allowed unused vars must match /^_/u
lint: packages/mermaid-layout-elk/src/render.ts#L640
Unexpected console statement
lint: packages/mermaid-layout-elk/src/render.ts#L642
Unexpected console statement
lint: packages/mermaid/src/diagram-api/detectType.ts#L42
Unexpected console statement
lint: packages/mermaid/src/diagrams/swimlane/lost-and-found/detector.ts#L10
'config' is defined but never used. Allowed unused args must match /^_/u
lint: packages/mermaid/src/diagrams/swimlane/lost-and-found/detector.ts#L11
Use the `RegExp#exec()` method instead
docker-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636