diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 3864e8788..000000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/cli diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 7451429a9..1ea83a94f 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -127,7 +127,7 @@ jobs: # # Remove unused imports and missing file references echo "Running ESLint to remove unused imports..." npm install eslint -g - eslint . --fix --ignore-path .eslintignore + eslint . --fix --ignore-pattern "cli/**" # echo "Running autoflake to remove unused imports..." # pip install autoflake diff --git a/upload-api/migration-sitecore/constants/index.js b/upload-api/migration-sitecore/constants/index.js index 5290f50ba..3e5e04fc1 100644 --- a/upload-api/migration-sitecore/constants/index.js +++ b/upload-api/migration-sitecore/constants/index.js @@ -36,6 +36,7 @@ const MIGRATION_DATA_CONFIG = { ENTRIES_DIR_NAME : "entries", ENTRIES_MASTER_FILE : "index.json", + GLOBAL_FIELDS_DIR_NAME : "global_fields", GLOBAL_FIELDS_FILE: "globalfields", GLOBAL_FIELDS_FILE_NAME : "globalfields.json",