diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 923a2dc7f..06d30bed8 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -100,7 +100,6 @@ jobs: # echo "Installing ESLint dependencies..." npm install --save-dev eslint @eslint/js globals @typescript-eslint/eslint-plugin @typescript-eslint/parser - if [ ! -f "eslint.config.cjs" ]; then echo "Creating default ESLint config..." cat < eslint.config.cjs @@ -128,6 +127,7 @@ jobs: "@typescript-eslint/no-explicit-any": "off", "no-constant-condition": "off", "no-constant-binary-expression": "off", + "import/no-unresolved": 'error', } } ]; diff --git a/api/src/services/contentful.service.ts b/api/src/services/contentful.service.ts index fb220820b..62cf4e5b2 100644 --- a/api/src/services/contentful.service.ts +++ b/api/src/services/contentful.service.ts @@ -14,6 +14,7 @@ import jsonRTE from "./contentful/jsonRTE.js"; import { getAllLocales, getLogMessage } from "../utils/index.js"; import customLogger from "../utils/custom-logger.utils.js"; + const { DATA, // DIR