Skip to content

Railroad diagrams #6515

Railroad diagrams

Railroad diagrams #6515

Triggered via pull request September 16, 2023 00:49
Status Failure
Total duration 2m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

10 errors and 10 warnings
lint (18.x): packages/mermaid/src/diagrams/railroad/railroad.spec.ts#L5
Import "Rules" is only used as types
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L185
Unexpected console statement
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L190
Prefer `.flatMap(…)` over `.map(…).flat()`
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L208
Unexpected console statement
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L213
Prefer `.flatMap(…)` over `.map(…).flat()`
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDiagram.ts#L1
All imports in the declaration are only used as types. Use `import type`
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadRenderer.ts#L5
All imports in the declaration are only used as types. Use `import type`
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadRenderer.ts#L64
Unexpected 'debugger' statement
lint (18.x): packages/mermaid-example-diagram/src/types/index.d.ts#L5
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L34
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L35
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L36
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L42
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L43
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L44
Unexpected any. Specify a different type
lint (18.x): packages/mermaid-zenuml/src/mermaidUtils.ts#L45
Unexpected any. Specify a different type
lint (18.x): packages/mermaid/scripts/create-types-from-json-schema.mts#L123
Unexpected any. Specify a different type
lint (18.x): packages/mermaid/scripts/create-types-from-json-schema.mts#L147
Unexpected any. Specify a different type