Fix lint warnings

Reviewed By: davidaurelio

Differential Revision: D6736768

fbshipit-source-id: 7272118c2320edd688e6ce6450aeada3309d620f
This commit is contained in:
Rafael Oleza 2018-01-17 07:18:18 -08:00 committed by Facebook Github Bot
parent 595f9d2d6c
commit f61ba53f73
5 changed files with 0 additions and 7 deletions

View File

@ -19,7 +19,6 @@ const createModuleIdFactory = require('../lib/createModuleIdFactory');
const defaults = require('../defaults');
const getPreludeCode = require('../lib/getPreludeCode');
const nullthrows = require('fbjs/lib/nullthrows');
const path = require('path');
const removeInlineRequiresBlacklistFromOptions = require('../lib/removeInlineRequiresBlacklistFromOptions');
const {EventEmitter} = require('events');

View File

@ -32,7 +32,6 @@ import type {ConfigT} from './Config';
import type {Reporter} from './lib/reporting';
import type {RequestOptions, OutputOptions} from './shared/types.flow.js';
import type {Options as ServerOptions} from './shared/types.flow';
import type {IncomingMessage, ServerResponse} from 'http';
import type {Server as HttpServer} from 'http';
import type {Server as HttpsServer} from 'https';

View File

@ -39,8 +39,6 @@ type Options = {|
type AssetInfo = {|platform: ?string, fileName: string|};
type InfoByAssetName = Map<string, Array<AssetInfo>>;
const EMPTY_ARRAY = [];
/**
* Lazily build an index of assets for the directories in which we're looking
* for specific assets. For example if we're looking for `foo.png` in a `bar`

View File

@ -17,8 +17,6 @@ const isAbsolutePath = require('absolute-path');
const path = require('path');
const util = require('util');
import type DependencyGraphHelpers from './DependencyGraphHelpers';
export type DirExistsFn = (filePath: string) => boolean;
/**

View File

@ -14,7 +14,6 @@
const ModuleResolution = require('./ModuleResolution');
const isAbsolutePath = require('absolute-path');
const path = require('path');
const {DuplicateHasteCandidatesError} = require('jest-haste-map').ModuleMap;