Skip to content

Add safe 1.4 flow

Add safe 1.4 flow #12

Triggered via pull request September 17, 2024 19:32
Status Failure
Total duration 1m 11s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
eslint: src/components/GuardianSetup.tsx#L12
'getRequestGuardianCommand' is defined but never used
eslint: src/components/GuardianSetup.tsx#L76
'setRecoveryExpiry' is assigned a value but never used
eslint: src/components/GuardianSetup.tsx#L81
'setRecoveryExpiryUnit' is assigned a value but never used
eslint: src/components/RequestedRecoveries.tsx#L10
'getRequestsRecoveryCommand' is defined but never used
eslint: src/components/RequestedRecoveries.tsx#L10
'getRequestsRecoveryCommandForSafe13' is defined 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
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#L126
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#L138
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#L192
React Hook useCallback has missing dependencies: 'safeOwnersData' and 'safeWalletAddress'. Either include them or remove the dependency array
eslint: src/components/burnerWallet/GuardianSetup.tsx#L26
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#L201
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
eslint: src/components/burnerWallet/GuardianSetup.tsx#L254
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