Skip to content

include frontend linting warnings in precommit check #96

include frontend linting warnings in precommit check

include frontend linting warnings in precommit check #96

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

ci.yml

on: push
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