Skip to content

chore: add eslint rule #11660

chore: add eslint rule

chore: add eslint rule #11660

Triggered via pull request January 11, 2025 07:49
Status Success
Total duration 3m 49s
Artifacts

ci.yml

on: pull_request
Matrix: Build Backend
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
Test Iris
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Backend (client)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Backend (admin)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint: apps/frontend/app/(client)/(code-editor)/_components/EditorHeader/EditorHeader.tsx#L141
React Hook useEffect has a missing dependency: 'templateString'. Either include it or remove the dependency array
Lint: apps/frontend/app/(client)/(code-editor)/_components/EditorHeader/EditorHeader.tsx#L154
React Hook useEffect has a missing dependency: 'setCode'. Either include it or remove the dependency array
Lint: apps/frontend/app/(client)/(code-editor)/_components/EditorHeader/EditorHeader.tsx#L288
React Hook useEffect has missing dependencies: 'contestId', 'handleBeforeUnload', 'language', 'problem.id', and 'userName'. Either include them or remove the dependency array
Lint: apps/frontend/app/(client)/(code-editor)/_components/EditorHeader/EditorHeader.tsx#L310
React Hook useEffect has a missing dependency: 'checkSaved'. Either include it or remove the dependency array
Lint: apps/frontend/app/(client)/(main)/settings/page.tsx#L130
React Hook useEffect has a missing dependency: 'setValue'. Either include it or remove the dependency array
Lint: apps/frontend/app/admin/problem/_components/InfoForm.tsx#L60
React Hook useEffect has missing dependencies: 'getValues' and 'setValue'. Either include them or remove the dependency array
Lint: apps/frontend/app/admin/problem/_components/UploadDialog.tsx#L71
'error' is defined but never used
Lint: apps/frontend/components/auth/SignUpRegister.tsx#L207
'error' is defined but never used
Lint: apps/frontend/libs/hooks/usePagination.ts#L134
React Hook useEffect has a missing dependency: 'withauth'. Either include it or remove the dependency array
Build Frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636