Fix CodeQL security alerts #122 and #123 #14
lint_frontend_package.yml
on: pull_request
Matrix: lint-frontend-package / build
Matrix: lint-frontend-package / check_exports
Matrix: lint-frontend-package / check_formatting
Matrix: lint-frontend-package / run_eslint
Annotations
10 warnings
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L359
React Hook useEffect has missing dependencies: 'setAlert' and 'setListAlert'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L339
React Hook useEffect has missing dependencies: 'activeSendToDockAlertType' and 'getActiveSendToDockAlertType'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L317
React Hook useEffect has missing dependencies: 'setAlert' and 'setListAlert'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L302
React Hook useEffect has missing dependencies: 'setAlert' and 'setListAlert'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L287
React Hook useEffect has missing dependencies: 'autoScheduleFailedMissionDict', 'setAlert', and 'setListAlert'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L208
React Hook useEffect has missing dependencies: 'TranslateText', 'backendApi', 'isAuthenticated', 'recentFailedMissions', 'setAlert', and 'setListAlert'. Either include them or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Contexts/AlertContext.tsx#L24
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/components/Alerts/AlertsBanner.tsx#L32
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/api/UseBackendApi.tsx#L12
React Hook useMemo has a missing dependency: 'getAccessToken'. Either include it or remove the dependency array
|
|
lint-frontend-package / run_eslint (24.x):
frontend/src/App.tsx#L21
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|