From 989457990fb1f79681cade6672aeee89f8cedb31 Mon Sep 17 00:00:00 2001 From: Bart Stefanski Date: Sun, 28 Jan 2024 23:07:36 +0100 Subject: [PATCH] chore: fix linting errors & eslint config in core module --- .eslintignore | 7 ++++++- apps/web/app/not-found.tsx | 2 +- apps/web/package.json | 2 +- apps/web/views/Product/ProductView.tsx | 8 ++++---- packages/core/.eslintignore | 8 ++++++++ packages/core/.eslintrc.js | 3 +++ packages/core/package.json | 2 +- packages/core/platform/shopify/index.ts | 6 +++--- 8 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 packages/core/.eslintignore create mode 100644 packages/core/.eslintrc.js diff --git a/.eslintignore b/.eslintignore index 8981f58a..8fc978f4 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,8 @@ .next node_modules -gql \ No newline at end of file +gql + +dist +/dist +dist/* +dist/**/* \ No newline at end of file diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx index 2f9ef2e6..a5f896f7 100644 --- a/apps/web/app/not-found.tsx +++ b/apps/web/app/not-found.tsx @@ -6,7 +6,7 @@ export default function NotFound() {

404

Page not found

- Sorry, we couldn't find the page you're looking for. + Sorry, we couldn't find the page you're looking for.

nodeFetch(url, init) as never, + customFetchApi: (url, init) => nodeFetch(url, init as never) as never, }) return {