Skip to content

Railroad diagrams #7379

Railroad diagrams

Railroad diagrams #7379

Triggered via pull request November 29, 2023 19:38
Status Failure
Total duration 1m 49s
Artifacts

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 "Rule" is only used as types
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L128
/\\([\\'"])/g can be optimized to /\\(["'\\])/g
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L136
/\\([\\'"<>])/g can be optimized to /\\(["'<>\\])/g
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L239
Unexpected console statement
lint (18.x): packages/mermaid/src/diagrams/railroad/railroadDB.ts#L261
Unexpected console statement
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-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#L124
Unexpected any. Specify a different type
lint (18.x): packages/mermaid/scripts/create-types-from-json-schema.mts#L148
Unexpected any. Specify a different type