Skip to content

Develop

Develop #4921

Triggered via pull request December 17, 2024 18:34
Status Success
Total duration 58s
Artifacts

lint.yml

on: pull_request
Matrix: run_linter
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
run_linter (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run_linter (20.x): src/components/Footer/Fotter.tsx#L55
React Hook useCallback has missing dependencies: 'onError', 'updateProcessedIds', and 'updateTodolist'. Either include them or remove the dependency array. If 'updateProcessedIds' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_linter (20.x): src/components/Header/Header.tsx#L68
React Hook useCallback has missing dependencies: 'onError', 'updateTempTodo', and 'updateTodoList'. Either include them or remove the dependency array. If 'updateTempTodo' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_linter (20.x): src/components/Header/Header.tsx#L123
React Hook useCallback has missing dependencies: 'allTodosCompleted', 'onError', 'updateProcessedIds', and 'updateTodoList'. Either include them or remove the dependency array. If 'updateProcessedIds' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_linter (20.x): src/components/TodoItem/TodoItem.tsx#L45
React Hook useCallback has missing dependencies: 'onError', 'updateProcessedIds', and 'updateTodolist'. Either include them or remove the dependency array. If 'updateProcessedIds' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_linter (20.x): src/components/TodoItem/TodoItem.tsx#L87
React Hook useCallback has missing dependencies: 'handleDeleteOneTodo', 'onError', 'title', 'todoList', 'updateProcessedIds', and 'updateTodolist'. Either include them or remove the dependency array. If 'updateProcessedIds' changes too often, find the parent component that defines it and wrap that definition in useCallback
run_linter (20.x): src/components/TodoItem/TodoItem.tsx#L124
React Hook useCallback has missing dependencies: 'onError', 'todoList', 'updateProcessedIds', and 'updateTodolist'. Either include them or remove the dependency array. If 'updateProcessedIds' changes too often, find the parent component that defines it and wrap that definition in useCallback