Skip to content

Add task solution #4829

Add task solution

Add task solution #4829

Triggered via pull request October 30, 2024 12:19
Status Success
Total duration 50s
Artifacts

lint.yml

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

Annotations

5 warnings
run_linter (20.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/
run_linter (20.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/
run_linter (20.x): src/App.tsx#L75
React Hook useCallback has a missing dependency: 'trimmedTitle'. Either include it or remove the dependency array
run_linter (20.x): src/App.tsx#L233
React Hook useEffect has an unnecessary dependency: 'ErrorMessages'. Either exclude it or remove the dependency array. Outer scope values like 'ErrorMessages' aren't valid dependencies because mutating them doesn't re-render the component
run_linter (20.x): src/components/TodoItem.tsx#L95
React Hook useEffect has a missing dependency: 'setError'. Either include it or remove the dependency array. Outer scope values like 'ErrorMessages' aren't valid dependencies because mutating them doesn't re-render the component