New Diagram: Architecture #9461
Annotations
10 errors and 11 warnings
lint:
packages/mermaid/src/diagrams/architecture/architectureTypes.ts#L250
Use an `interface` instead of a `type`
|
lint:
packages/mermaid/src/diagrams/architecture/architectureTypes.ts#L252
Use an `interface` instead of a `type`
|
lint:
packages/mermaid/src/diagrams/architecture/architectureTypes.ts#L271
Use an `interface` instead of a `type`
|
lint:
packages/mermaid/src/diagrams/architecture/svgDraw.ts#L5
Imports "ArchitectureJunction" are only used as type
|
lint:
packages/mermaid/src/diagrams/architecture/svgDraw.ts#L304
/[^\d]/g can be optimized to /\D/g
|
lint:
packages/mermaid/src/diagrams/architecture/svgDraw.ts#L338
'bkgElem' is never reassigned. Use 'const' instead
|
lint:
packages/mermaid/src/rendering-util/svg/unknown.ts#L2
tsdoc-undefined-tag: The TSDoc tag "@author" is not defined in this configuration
|
lint:
packages/parser/src/language/architecture/module.ts#L22
Use an `interface` instead of a `type`
|
lint:
packages/parser/src/language/architecture/valueConverter.ts#L15
/[()"]/g can be optimized to /["()]/g
|
Lint failure
Running `pnpm run lint` failed. Running `pnpm -w run lint:fix` may fix this issue. If this error doesn't occur on your local machine, make sure your packages are up-to-date by running `pnpm install`. You may also need to delete your prettier cache by running `rm ./node_modules/.cache/prettier/.prettier-cache`.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
packages/mermaid-example-diagram/src/types/index.d.ts#L5
Unexpected any. Specify a different type
|
lint:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L67
'vertexNode' is defined but never used
|
lint:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L191
'svgLabel' is assigned a value but never used
|
lint:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L397
Expected @param names to be "edges, diagObj, graph, svg". Got "edges, g, cy, diagObj, graph, svg"
|
lint:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L680
Expected @param names to be "nodeArray, parentLookupDb". Got "graph, nodeArray, parentLookupDb"
|
lint:
packages/mermaid-zenuml/src/mermaidUtils.ts#L34
Unexpected any. Specify a different type
|
lint:
packages/mermaid-zenuml/src/mermaidUtils.ts#L35
Unexpected any. Specify a different type
|
lint:
packages/mermaid-zenuml/src/mermaidUtils.ts#L36
Unexpected any. Specify a different type
|
lint:
packages/mermaid-zenuml/src/mermaidUtils.ts#L42
Unexpected any. Specify a different type
|
lint:
packages/mermaid-zenuml/src/mermaidUtils.ts#L43
Unexpected any. Specify a different type
|