mirror of https://github.com/status-im/metro.git
Fix lint warnings
Reviewed By: davidaurelio Differential Revision: D6736768 fbshipit-source-id: 7272118c2320edd688e6ce6450aeada3309d620f
This commit is contained in:
parent
595f9d2d6c
commit
f61ba53f73
|
@ -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');
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
const ModuleResolution = require('./ModuleResolution');
|
||||
|
||||
const isAbsolutePath = require('absolute-path');
|
||||
const path = require('path');
|
||||
|
||||
const {DuplicateHasteCandidatesError} = require('jest-haste-map').ModuleMap;
|
||||
|
|
Loading…
Reference in New Issue