include frontend linting warnings in precommit check #96
Annotations
6 errors and 7 warnings
Lint frontend:
frontend/src/components/CreateAllocation.tsx#L141
'err' is defined but never used
|
Lint frontend:
frontend/src/components/DepositForm.tsx#L46
'e' is defined but never used
|
Lint frontend:
frontend/src/components/DepositForm.tsx#L72
'e' is defined but never used
|
Lint frontend:
frontend/src/components/DepositForm.tsx#L85
'e' is defined but never used
|
Lint frontend:
frontend/src/hooks/useSessionPoller.ts#L62
'error' is defined but never used
|
Lint frontend
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint frontend:
frontend/src/components/BalanceDisplay.tsx#L26
Unexpected any. Specify a different type
|
Lint frontend:
frontend/src/components/CreateAllocation.tsx#L44
Unexpected any. Specify a different type
|
Lint frontend:
frontend/src/components/CreateAllocation.tsx#L55
React Hook useEffect has a missing dependency: 'generateNewNonce'. Either include it or remove the dependency array
|
Lint frontend:
frontend/src/components/CreateAllocation.tsx#L73
React Hook useEffect has a missing dependency: 'getResourceLockDecimals'. Either include it or remove the dependency array
|
Lint frontend:
frontend/src/components/InitiateForcedWithdrawalDialog.tsx#L39
Unexpected any. Specify a different type
|
Lint frontend:
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
|
Loading