From 59a8a4017aea51f02c327a4c61b11ddc8ce120e4 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Wed, 15 Sep 2021 14:05:27 -0700 Subject: [PATCH] Manual fixes Signed-off-by: Tyler Smalley --- x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts | 2 +- .../public/network/components/users_table/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts index 103dffc643c10..3707c3d3e91ec 100644 --- a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts @@ -31,9 +31,9 @@ export const createPackRoute = (router: IRouter) => { name: savedQuery.name, })); - // eslint-disable-next-line @typescript-eslint/no-unused-vars const { attributes, + // eslint-disable-next-line @typescript-eslint/no-unused-vars references: _, ...restSO } = await savedObjectsClient.create( diff --git a/x-pack/plugins/security_solution/public/network/components/users_table/index.tsx b/x-pack/plugins/security_solution/public/network/components/users_table/index.tsx index 00451e948a48e..66c36208fd98a 100644 --- a/x-pack/plugins/security_solution/public/network/components/users_table/index.tsx +++ b/x-pack/plugins/security_solution/public/network/components/users_table/index.tsx @@ -118,9 +118,9 @@ const UsersTableComponent: React.FC = ({ [dispatch, sort, type] ); - // eslint-disable-next-line react-hooks/exhaustive-deps const columns = useMemo( () => getUsersColumns(flowTarget, usersTableId), + // eslint-disable-next-line react-hooks/exhaustive-deps [flowTarget, usersTableId] );