Skip to content

chore: max warning 0 in lint workflow #26

chore: max warning 0 in lint workflow

chore: max warning 0 in lint workflow #26

Triggered via push September 18, 2024 08:48
Status Failure
Total duration 49s
Artifacts

linting.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
eslint
Process completed with exit code 1.
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#L120
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
eslint: src/components/GuardianSetup.tsx#L213
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#L84
React Hook useEffect has a missing dependency: 'checkIfRecoveryCanBeCompleted'. Either include it or remove the dependency array
eslint: src/components/RequestedRecoveries.tsx#L141
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#L188
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#L261
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#L77
React Hook useEffect has a missing dependency: 'checkIfRecoveryCanBeCompleted'. Either include it or remove the dependency array