From d6946ec40f4ae54469832e0e20e7399f5aeb9d60 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Sun, 12 Feb 2023 23:47:13 +0100 Subject: [PATCH] chore: :wrench: disable ESLint rule `import/no-anonymous-default-export` and exclude `strapi` dir from TS build --- .eslintrc.json | 5 ++++- tsconfig.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index bffb357..f16da9b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "next/core-web-vitals" + "extends": "next/core-web-vitals", + "rules": { + "import/no-anonymous-default-export": "off" + } } diff --git a/tsconfig.json b/tsconfig.json index 2159bf4..e96c4d6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,5 +20,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "strapi"] }