Adding insertElementForSize #13471
Annotations
9 errors and 2 warnings
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L1
'select' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L17
'NodeWithVertex' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L27
tsdoc-param-tag-missing-hyphen: The @param block should be followed by a parameter name and then a hyphen
|
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L28
tsdoc-param-tag-missing-hyphen: The @param block should be followed by a parameter name and then a hyphen
|
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L33
Promise returned in function argument where a void return was expected
|
lint:
packages/mermaid/src/rendering-util/insertElementsForSize.ts#L35
This assertion is unnecessary since it does not change the type of the expression
|
lint:
packages/mermaid/src/rendering-util/render.ts#L56
Unexpected `await` of a non-Promise (non-"Thenable") value
|
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
Process completed with exit code 1.
|
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
|