From 01e9a1d152e3ba4098aa700a24e79d83031604de Mon Sep 17 00:00:00 2001 From: Thomas Lavocat Date: Wed, 6 Sep 2023 10:17:40 +0200 Subject: [PATCH] api: ignore the generated code from eslintignore Restore the edgeApi.ts file to the programmatically generated values by rtkq and add the file to the list of ignored files for eslint. --- .eslintignore | 1 + src/store/edgeApi.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index 45ee41c6..cc089a8c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,3 +3,4 @@ imageBuilderApi.ts contentSourcesApi.ts rhsmApi.ts provisioningApi.ts +edgeApi.ts diff --git a/src/store/edgeApi.ts b/src/store/edgeApi.ts index 962a994f..bbec3da5 100644 --- a/src/store/edgeApi.ts +++ b/src/store/edgeApi.ts @@ -1,4 +1,4 @@ -import { emptyEdgeApi as api } from './emptyEdgeApi'; +import { emptyEdgeApi as api } from "./emptyEdgeApi"; const injectedRtkApi = api.injectEndpoints({ endpoints: (build) => ({ getAllImages: build.query({