fix: update cli and fix linting errors #17
Annotations
21 warnings
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/
|
src/area.ts#L135
The 'await this.guards.translate({ previous: this.transform, position }) as T' has unsafe 'as' type assertion
|
src/area.ts#L161
The 'await this.guards.zoom({ previous: this.transform, zoom, source }) as T' has unsafe 'as' type assertion
|
src/connection-view.ts#L15
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
src/drag.ts#L32
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
src/extensions/bounding-box.ts#L14
This line has a length of 127. Maximum allowed is 120
|
src/extensions/order.ts#L12
The 'base as BaseAreaPlugin<Schemes, BaseArea<Schemes>>' has unsafe 'as' type assertion
|
src/extensions/order.ts#L15
Unnecessary conditional, value is always falsy
|
src/extensions/selectable.ts#L5
Unexpected any. Specify a different type
|
src/extensions/selectable.ts#L64
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
src/extensions/selectable.ts#L68
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
src/area.ts#L135
The 'await this.guards.translate({ previous: this.transform, position }) as T' has unsafe 'as' type assertion
|
src/area.ts#L161
The 'await this.guards.zoom({ previous: this.transform, zoom, source }) as T' has unsafe 'as' type assertion
|
src/connection-view.ts#L15
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
src/drag.ts#L32
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
src/extensions/bounding-box.ts#L14
This line has a length of 127. Maximum allowed is 120
|
src/extensions/order.ts#L12
The 'base as BaseAreaPlugin<Schemes, BaseArea<Schemes>>' has unsafe 'as' type assertion
|
src/extensions/order.ts#L15
Unnecessary conditional, value is always falsy
|
src/extensions/selectable.ts#L5
Unexpected any. Specify a different type
|
src/extensions/selectable.ts#L64
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
src/extensions/selectable.ts#L68
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
|
This job succeeded
Loading