Skip to content

Task solution

Task solution #2173

Triggered via pull request July 7, 2024 18:17
Status Failure
Total duration 1m 23s
Artifacts

lint.yml

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

Annotations

2 errors and 4 warnings
run_linter (14.x): src/components/SearchBar/SearchBar.tsx#L1
'lodash.debounce' should be listed in the project's dependencies. Run 'npm i -S lodash.debounce' to add it
run_linter (14.x)
Process completed with exit code 1.
run_linter (14.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 (14.x)
The following actions uses Node.js version which is deprecated 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 (14.x): src/components/ProductGrid/ProductGrid.tsx#L60
React Hook useCallback has a missing dependency: 'sortBy'. Either include it or remove the dependency array
run_linter (14.x): src/components/ProductGrid/ProductGrid.tsx#L67
React Hook useCallback has a missing dependency: 'sortBy'. Either include it or remove the dependency array. Outer scope values like 'SortOptions' aren't valid dependencies because mutating them doesn't re-render the component