diff --git a/package.json b/package.json index ae0332c..2ba868d 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "tsc": "tsc", "eslint": "eslint", - "lint": "eslint --ext .ts \"server/**/*.ts\"", + "lint": "eslint --ext .ts \"server/**/*.ts\" && cd client && npm run lint", "build": "rm -rf dist && tsc && cp -r themes dist/ && cd ./client && npm run build", "postinstall": "cd client/ && yarn install --pure-lockfile", "start": "node dist/server.js", diff --git a/server/lib/indexers/shared/abstract-indexer.ts b/server/lib/indexers/shared/abstract-indexer.ts index 3176f98..8dcbf5d 100644 --- a/server/lib/indexers/shared/abstract-indexer.ts +++ b/server/lib/indexers/shared/abstract-indexer.ts @@ -4,7 +4,6 @@ import { logger } from '../../../helpers/logger' import { INDEXER_QUEUE_CONCURRENCY } from '../../../initializers/constants' import { buildIndex, indexDocuments, refreshIndex } from '../../../lib/elastic-search/elastic-search-index' import { removeFromHosts, removeNotExistingIdsFromHost } from '../../../lib/elastic-search/elastic-search-queries' -import { buildVideosMapping } from '../../../lib/elastic-search/elastic-search-videos' import { IndexableDoc } from '../../../types/indexable-doc.model' // identifier could be an uuid, an handle or a url for example