mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Disable import/no-unresolved
on lines that require build
Certain lines only work after a build stage has been completed, so these failure can be ignored by the no-unresolved rule.
This commit is contained in:
parent
a57ff0b681
commit
9ca22d8fae
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
const request = require('request-promise')
|
const request = require('request-promise')
|
||||||
const VERSION = require('../dist/chrome/manifest.json').version
|
const VERSION = require('../dist/chrome/manifest.json').version // eslint-disable-line import/no-unresolved
|
||||||
|
|
||||||
start().catch(console.error)
|
start().catch(console.error)
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@ const h = require('react-hyperscript')
|
|||||||
const Root = require('../ui/app/pages')
|
const Root = require('../ui/app/pages')
|
||||||
const configureStore = require('../ui/app/store/store')
|
const configureStore = require('../ui/app/store/store')
|
||||||
const actions = require('../ui/app/store/actions')
|
const actions = require('../ui/app/store/actions')
|
||||||
const states = require('./states')
|
|
||||||
const backGroundConnectionModifiers = require('./backGroundConnectionModifiers')
|
const backGroundConnectionModifiers = require('./backGroundConnectionModifiers')
|
||||||
const Selector = require('./selector')
|
const Selector = require('./selector')
|
||||||
const MetamaskController = require('../app/scripts/metamask-controller')
|
const MetamaskController = require('../app/scripts/metamask-controller')
|
||||||
@ -23,6 +22,9 @@ const firstTimeState = require('../app/scripts/first-time-state')
|
|||||||
const ExtensionPlatform = require('../app/scripts/platforms/extension')
|
const ExtensionPlatform = require('../app/scripts/platforms/extension')
|
||||||
const noop = function () {}
|
const noop = function () {}
|
||||||
|
|
||||||
|
// the states file is generated before this file is run, but after `lint` is run
|
||||||
|
const states = require('./states') /* eslint-disable-line import/no-unresolved */
|
||||||
|
|
||||||
const log = require('loglevel')
|
const log = require('loglevel')
|
||||||
window.log = log
|
window.log = log
|
||||||
log.setLevel('debug')
|
log.setLevel('debug')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
const pify = require('pify')
|
const pify = require('pify')
|
||||||
const exec = pify(require('child_process').exec, { multiArgs: true })
|
const exec = pify(require('child_process').exec, { multiArgs: true })
|
||||||
const VERSION = require('../dist/chrome/manifest.json').version
|
const VERSION = require('../dist/chrome/manifest.json').version // eslint-disable-line import/no-unresolved
|
||||||
|
|
||||||
start().catch(console.error)
|
start().catch(console.error)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user