Fix lint
This commit is contained in:
parent
5a8b24c0fc
commit
de3c53069d
|
@ -15,7 +15,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"eslint": "eslint",
|
"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",
|
"build": "rm -rf dist && tsc && cp -r themes dist/ && cd ./client && npm run build",
|
||||||
"postinstall": "cd client/ && yarn install --pure-lockfile",
|
"postinstall": "cd client/ && yarn install --pure-lockfile",
|
||||||
"start": "node dist/server.js",
|
"start": "node dist/server.js",
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { logger } from '../../../helpers/logger'
|
||||||
import { INDEXER_QUEUE_CONCURRENCY } from '../../../initializers/constants'
|
import { INDEXER_QUEUE_CONCURRENCY } from '../../../initializers/constants'
|
||||||
import { buildIndex, indexDocuments, refreshIndex } from '../../../lib/elastic-search/elastic-search-index'
|
import { buildIndex, indexDocuments, refreshIndex } from '../../../lib/elastic-search/elastic-search-index'
|
||||||
import { removeFromHosts, removeNotExistingIdsFromHost } from '../../../lib/elastic-search/elastic-search-queries'
|
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'
|
import { IndexableDoc } from '../../../types/indexable-doc.model'
|
||||||
|
|
||||||
// identifier could be an uuid, an handle or a url for example
|
// identifier could be an uuid, an handle or a url for example
|
||||||
|
|
Loading…
Reference in New Issue