Skip to content

feat: math improvement (#13) #91

feat: math improvement (#13)

feat: math improvement (#13) #91

Triggered via push July 10, 2025 18:54
Status Failure
Total duration 1m 4s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 9 warnings
lint
Process completed with exit code 1.
lint: test/src/main.ts#L108
Argument of type '{ test: string; widget: string; model: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; parametric: string; axis: string; dot: string; }; INSTANCE: { ins01: string; ins02: string; }; mermaid: string; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L106
Argument of type '{ test: string; widget: string; model: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; parametric: string; axis: string; dot: string; }; INSTANCE: { ins01: string; ins02: string; }; mermaid: string; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L74
Type 'undefined' is not assignable to type 'string'.
lint: test/src/main.ts#L68
Argument of type 'Item[]' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L64
Type 'Item[]' is not assignable to type 'string'.
lint: packages/math/src/angle/points.ts#L97
Duplicate identifier 'setup'.
lint: packages/math/src/angle/points.ts#L94
An object literal cannot have multiple properties with the same name.
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test (lts/*, macos-latest)
Process completed with exit code 1.
test (lts/*, windows-latest)
Process completed with exit code 1.
lint: packages/math/src/plane/index.ts#L19
'withLabelT' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/math/src/plane/index.ts#L8
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
lint: packages/math/src/parametric/point-on.ts#L17
'positions' is assigned a value but never used. Allowed unused vars must match /^_/u
lint: packages/math/src/parametric/point-on.ts#L16
'context' is defined but never used. Allowed unused args must match /^_/u
lint: packages/math/src/line/index.ts#L17
'context' is defined but never used. Allowed unused args must match /^_/u
lint: packages/math/src/function/index.ts#L11
'withExprT' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/math/src/function/index.ts#L6
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
lint: packages/math/src/axis/index.ts#L14
'withLabelT' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/math/src/axis/index.ts#L6
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u