chore: add eslint rule #11683
Annotations
10 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint (Node.js):
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 (Node.js):
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 (Node.js):
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 (Node.js):
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 (Node.js):
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 (Node.js):
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 (Node.js):
apps/frontend/app/admin/problem/_components/UploadDialog.tsx#L71
'error' is defined but never used
|
Lint (Node.js):
apps/frontend/components/auth/SignUpRegister.tsx#L207
'error' is defined but never used
|
Lint (Node.js):
apps/frontend/libs/hooks/usePagination.ts#L134
React Hook useEffect has a missing dependency: 'withauth'. Either include it or remove the dependency array
|
Loading