Skip to content

fix: update cli and fix linting errors #17

fix: update cli and fix linting errors

fix: update cli and fix linting errors #17

Re-run triggered August 30, 2024 15:39
Status Success
Total duration 1m 27s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
ci / ci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / ci: src/area.ts#L135
The 'await this.guards.translate({ previous: this.transform, position }) as T' has unsafe 'as' type assertion
ci / ci: src/area.ts#L161
The 'await this.guards.zoom({ previous: this.transform, zoom, source }) as T' has unsafe 'as' type assertion
ci / ci: src/connection-view.ts#L15
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
ci / ci: src/drag.ts#L32
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
ci / ci: src/extensions/bounding-box.ts#L14
This line has a length of 127. Maximum allowed is 120
ci / ci: src/extensions/order.ts#L12
The 'base as BaseAreaPlugin<Schemes, BaseArea<Schemes>>' has unsafe 'as' type assertion
ci / ci: src/extensions/order.ts#L15
Unnecessary conditional, value is always falsy
ci / ci: src/extensions/selectable.ts#L5
Unexpected any. Specify a different type
ci / ci: src/extensions/selectable.ts#L64
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
ci / ci: src/extensions/selectable.ts#L68
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
ci / ci: src/area.ts#L135
The 'await this.guards.translate({ previous: this.transform, position }) as T' has unsafe 'as' type assertion
ci / ci: src/area.ts#L161
The 'await this.guards.zoom({ previous: this.transform, zoom, source }) as T' has unsafe 'as' type assertion
ci / ci: src/connection-view.ts#L15
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
ci / ci: src/drag.ts#L32
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
ci / ci: src/extensions/bounding-box.ts#L14
This line has a length of 127. Maximum allowed is 120
ci / ci: src/extensions/order.ts#L12
The 'base as BaseAreaPlugin<Schemes, BaseArea<Schemes>>' has unsafe 'as' type assertion
ci / ci: src/extensions/order.ts#L15
Unnecessary conditional, value is always falsy
ci / ci: src/extensions/selectable.ts#L5
Unexpected any. Specify a different type
ci / ci: src/extensions/selectable.ts#L64
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
ci / ci: src/extensions/selectable.ts#L68
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function