Feat/math helpers #19
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
|