Skip to content

Remove useless variables #105

Remove useless variables

Remove useless variables #105

Re-run triggered September 6, 2024 18:39
Status Failure
Total duration 46s
Artifacts

main.yml

on: pull_request
file_existence
3s
file_existence
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 15 warnings
lint (21.x): client/app/configs/firebaseConfig.ts#L1
Unable to resolve path to module '@env'
lint (21.x): client/app/contexts/LocationContext.tsx#L1
Unable to resolve path to module '@env'
lint (21.x): client/app/contexts/SocketContext.tsx#L1
Unable to resolve path to module '@env'
lint (21.x)
Process completed with exit code 1.
file_existence
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
file_existence
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, jsdaniell/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, jsdaniell/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (21.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (21.x): client/app/components/auth/AuthButtons.tsx#L1
'useFonts' is defined but never used
lint (21.x): client/app/contexts/LocationContext.tsx#L76
React Hook useEffect has missing dependencies: 'location.latitude' and 'location.longitude'. Either include them or remove the dependency array
lint (21.x): client/app/contexts/SocketContext.tsx#L46
React Hook useEffect has missing dependencies: 'mounted' and 'socket'. Either include them or remove the dependency array
lint (21.x): client/app/contexts/SocketContext.tsx#L87
React Hook useEffect has a missing dependency: 'socket'. Either include it or remove the dependency array
lint (21.x): client/app/contexts/UserContext.tsx#L12
'setUser' is assigned a value but never used
lint (21.x): client/app/screens/auth/LoginScreen.tsx#L54
React Hook useEffect has a missing dependency: 'newEmail'. Either include it or remove the dependency array
lint (21.x): client/app/services/AuthStore.ts#L24
'unsub' is assigned a value but never used
lint (21.x): client/app/services/AuthStore.ts#L27
Expected an assignment or function call and instead saw an expression