Skip to content

Feat/math helpers

Feat/math helpers #19

Re-run triggered November 16, 2023 19:48
Status Failure
Total duration 1m 27s
Artifacts

pr-main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build (20.x): packages/numericals/src/index.ts#L1
There should be at least one empty line between import groups
build (20.x): packages/numericals/src/index.ts#L1
`./types` import should occur after import of `@polkadot-cloud/utils`
build (20.x): packages/numericals/src/index.ts#L3
Replace `minDecimalPlaces,·planckToUnit` with `·minDecimalPlaces,·planckToUnit·`
build (20.x): packages/numericals/src/index.ts#L34
Replace `parseFloat(numberPart).toFixed(digitsAfterDecimal·as·number)` with `⏎······parseFloat(numberPart).toFixed(digitsAfterDecimal·as·number)⏎····`
build (20.x): packages/numericals/src/index.ts#L86
Replace `val:·BigNumber·|·string·|·number,·units:·number` with `⏎··val:·BigNumber·|·string·|·number,⏎··units:·number⏎`
build (20.x): packages/numericals/src/index.ts#L97
Replace `val:·BigNumber·|·string·|·number,·units:·number` with `⏎··val:·BigNumber·|·string·|·number,⏎··units:·number⏎`
build (20.x): packages/react-hooks/src/useEffectIgnoreInitial.tsx#L11
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
build (20.x): packages/react-hooks/src/useEffectIgnoreInitial.tsx#L11
React Hook useEffect has a missing dependency: 'fn'. Either include it or remove the dependency array. If 'fn' changes too often, find the parent component that defines it and wrap that definition in useCallback