fix(test): ignore some no-missing-import errors

This commit is contained in:
Julien Fontanet 2018-02-05 12:05:22 +01:00
parent 138d5627b5
commit afa5b046cb
4 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,6 @@
import Bluebird from 'bluebird' import Bluebird from 'bluebird'
import { BaseError } from 'make-error' import { BaseError } from 'make-error'
// eslint-disable-next-line node/no-missing-import
import { createPredicate } from 'value-matcher' import { createPredicate } from 'value-matcher'
import { timeout } from 'promise-toolbox' import { timeout } from 'promise-toolbox'
import { import {

View File

@ -1,6 +1,7 @@
import eventToPromise from 'event-to-promise' import eventToPromise from 'event-to-promise'
import through2 from 'through2' import through2 from 'through2'
import { ignoreErrors } from 'promise-toolbox' import { ignoreErrors } from 'promise-toolbox'
// eslint-disable-next-line node/no-missing-import
import { parse } from 'xo-remote-parser' import { parse } from 'xo-remote-parser'
import { import {

View File

@ -3,10 +3,13 @@ import deferrable from 'golike-defer'
import fatfs from 'fatfs' import fatfs from 'fatfs'
import synchronized from 'decorator-synchronized' import synchronized from 'decorator-synchronized'
import tarStream from 'tar-stream' import tarStream from 'tar-stream'
// eslint-disable-next-line node/no-missing-import
import vmdkToVhd from 'xo-vmdk-to-vhd' import vmdkToVhd from 'xo-vmdk-to-vhd'
import { cancellable, catchPlus as pCatch, defer, ignoreErrors } from 'promise-toolbox' import { cancellable, catchPlus as pCatch, defer, ignoreErrors } from 'promise-toolbox'
import { PassThrough } from 'stream' import { PassThrough } from 'stream'
import { forbiddenOperation } from 'xo-common/api-errors' import { forbiddenOperation } from 'xo-common/api-errors'
// eslint-disable-next-line node/no-missing-import
import { Xapi as XapiBase } from 'xen-api'
import { import {
every, every,
find, find,
@ -19,9 +22,6 @@ import {
startsWith, startsWith,
uniq, uniq,
} from 'lodash' } from 'lodash'
import {
Xapi as XapiBase,
} from 'xen-api'
import { import {
satisfies as versionSatisfies, satisfies as versionSatisfies,
} from 'semver' } from 'semver'

View File

@ -1,3 +1,4 @@
// eslint-disable-next-line node/no-missing-import
import checkAuthorization from 'xo-acl-resolver' import checkAuthorization from 'xo-acl-resolver'
import { forEach, includes, map } from 'lodash' import { forEach, includes, map } from 'lodash'