From 82b57007a06befda305b222623b2a6c0332ce9ff Mon Sep 17 00:00:00 2001 From: minnakt Date: Thu, 18 Jan 2024 16:06:27 -0500 Subject: [PATCH] Fix lint --- cypress/integration/task/test_table.ts | 2 +- src/pages/task/taskTabs/TestsTable.tsx | 8 ++++---- src/types/task.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cypress/integration/task/test_table.ts b/cypress/integration/task/test_table.ts index 3589f9fa91..4cc5168a33 100644 --- a/cypress/integration/task/test_table.ts +++ b/cypress/integration/task/test_table.ts @@ -106,7 +106,7 @@ describe("Tests Table", () => { }); cy.location().should((loc) => { expect(decodeURIComponent(loc.search)).to.include( - `statuses=${statuses.map(({ key }) => key).join(",")}` + `statuses=${statuses.map(({ key }) => key).join(",")}`, ); }); }); diff --git a/src/pages/task/taskTabs/TestsTable.tsx b/src/pages/task/taskTabs/TestsTable.tsx index 24c66191a5..76785ab09d 100644 --- a/src/pages/task/taskTabs/TestsTable.tsx +++ b/src/pages/task/taskTabs/TestsTable.tsx @@ -117,7 +117,7 @@ export const TestsTable: React.FC = ({ task }) => { const { initialFilters, initialSorting } = useMemo( () => getInitialState(queryParams), - [] // eslint-disable-line react-hooks/exhaustive-deps + [], // eslint-disable-line react-hooks/exhaustive-deps ); const setSorting = (s: SortingState) => @@ -150,11 +150,11 @@ export const TestsTable: React.FC = ({ task }) => { manualPagination: true, onColumnFiltersChange: onChangeHandler( setFilters, - updateFilters + updateFilters, ), onSortingChange: onChangeHandler( setSorting, - tableSortHandler + tableSortHandler, ), }); @@ -215,7 +215,7 @@ const getInitialState = (queryParams: { } return accum; }, - [] + [], ), }; }; diff --git a/src/types/task.ts b/src/types/task.ts index b28d91308a..52500fa81e 100644 --- a/src/types/task.ts +++ b/src/types/task.ts @@ -35,7 +35,7 @@ export const mapIdToFilterParam = Object.entries(mapFilterParamToId).reduce( ...accum, [param]: id, }), - {} + {}, ); export type TableOnChange = TableProps["onChange"];