Skip to content

Add safe 1.4 flow

Add safe 1.4 flow #20

Triggered via pull request September 18, 2024 07:55
Status Failure
Total duration 49s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
eslint: src/components/GuardianSetup.tsx#L72
'setRecoveryExpiry' is assigned a value but never used
eslint: src/components/GuardianSetup.tsx#L77
'setRecoveryExpiryUnit' is assigned a value but never used
eslint: src/components/RequestedRecoveries.tsx#L39
'stepsContext' is assigned a value but never used
eslint: src/components/RequestedRecoveries.tsx#L43
'setSafeWalletAddress' is assigned a value but never used
eslint: src/components/RequestedRecoveries.tsx#L51
'gurdianRequestId' is assigned a value but never used
eslint: src/components/RequestedRecoveries.tsx#L52
'isButtonStateLoading' is assigned a value but never used
eslint: src/components/Toggle.tsx#L6
'theme' is defined but never used
eslint: src/components/TriggerAccountRecovery.tsx#L2
'Web3Provider' is defined but never used
eslint: src/components/TriggerAccountRecovery.tsx#L20
'setButtonState' is assigned a value but never used
eslint: src/components/burnerWallet/GuardianSetup.tsx#L84
'isAccountInitializedLoading' is assigned a value but never used
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
eslint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
eslint: src/components/GuardianSetup.tsx#L122
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
eslint: src/components/GuardianSetup.tsx#L215
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
eslint: src/components/RequestedRecoveries.tsx#L86
React Hook useEffect has a missing dependency: 'checkIfRecoveryCanBeCompleted'. Either include it or remove the dependency array
eslint: src/components/RequestedRecoveries.tsx#L143
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
eslint: src/components/RequestedRecoveries.tsx#L190
React Hook useCallback has missing dependencies: 'safeOwnersData' and 'safeWalletAddress'. Either include them or remove the dependency array
eslint: src/components/burnerWallet/GuardianSetup.tsx#L32
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
eslint: src/components/burnerWallet/GuardianSetup.tsx#L207
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
eslint: src/components/burnerWallet/GuardianSetup.tsx#L260
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
eslint: src/components/burnerWallet/RequestedRecoveries.tsx#L78
React Hook useEffect has a missing dependency: 'checkIfRecoveryCanBeCompleted'. Either include it or remove the dependency array