Skip to content

Add task solution #2692

Add task solution

Add task solution #2692

Triggered via pull request December 27, 2024 12:44
Status Failure
Total duration 1m 1s
Artifacts

lint.yml

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

Annotations

10 errors and 3 warnings
run_linter (20.x): src/components/PeopleFilters/PeopleFilters.tsx#L1
'lodash' should be listed in the project's dependencies. Run 'npm i -S lodash' to add it
run_linter (20.x): src/components/PeopleFilters/PeopleFilters.tsx#L14
'query' is assigned a value but never used
run_linter (20.x): src/components/PeopleFilters/PeopleFilters.tsx#L21
'searchParams' is already declared in the upper scope on line 11 column 10
run_linter (20.x): src/components/PeopleFilters/PeopleFilters.tsx#L22
'setSearchParams' is already declared in the upper scope on line 11 column 24
run_linter (20.x): src/components/PeopleTable/PeopleTable.tsx#L75
'slug' is already declared in the upper scope on line 13 column 11
run_linter (20.x): src/pages/PeoplePage.tsx#L35
Unexpected console statement
run_linter (20.x): src/pages/PeoplePage.tsx#L82
Expected indentation of 16 spaces but found 18
run_linter (20.x): src/pages/PeoplePage.tsx#L84
Expected indentation of 16 spaces but found 18
run_linter (20.x): src/pages/PeoplePage.tsx#L85
Expected indentation of 14 spaces but found 16
run_linter (20.x)
Process completed with exit code 1.
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/PeopleFilters/PeopleFilters.tsx#L17
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
run_linter (20.x)
React Hook useEffect has a missing dependency: 'applyQuery'. Either include it or remove the dependency array