Skip to content

more lint + typecheck CI fixes #95

more lint + typecheck CI fixes

more lint + typecheck CI fixes #95

Triggered via push December 6, 2024 22:09
Status Failure
Total duration 1m 18s
Billable time 2m
Artifacts

ci.yml

on: push
build-and-test
1m 7s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
build-and-test: frontend/src/components/CreateAllocation.tsx#L141
'err' is defined but never used
build-and-test: frontend/src/components/DepositForm.tsx#L46
'e' is defined but never used
build-and-test: frontend/src/components/DepositForm.tsx#L72
'e' is defined but never used
build-and-test: frontend/src/components/DepositForm.tsx#L85
'e' is defined but never used
build-and-test: frontend/src/hooks/useSessionPoller.ts#L62
'error' is defined but never used
build-and-test
Process completed with exit code 1.
build-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-and-test: frontend/src/components/BalanceDisplay.tsx#L26
Unexpected any. Specify a different type
build-and-test: frontend/src/components/CreateAllocation.tsx#L44
Unexpected any. Specify a different type
build-and-test: frontend/src/components/CreateAllocation.tsx#L55
React Hook useEffect has a missing dependency: 'generateNewNonce'. Either include it or remove the dependency array
build-and-test: frontend/src/components/CreateAllocation.tsx#L73
React Hook useEffect has a missing dependency: 'getResourceLockDecimals'. Either include it or remove the dependency array
build-and-test: frontend/src/components/InitiateForcedWithdrawalDialog.tsx#L39
Unexpected any. Specify a different type
build-and-test: frontend/src/context/NotificationContext.tsx#L31
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components