diff --git a/.eslintrc b/.eslintrc index 1a96e1c9..861865ec 100644 --- a/.eslintrc +++ b/.eslintrc @@ -18,6 +18,7 @@ "no-shadow": 0, "no-underscore-dangle": 0, "no-void": 0, + "import/no-extraneous-dependencies": 0, "react/jsx-curly-brace-presence": 0, "react/jsx-filename-extension": 0, "react/prefer-stateless-function": 0, diff --git a/src/components/Wrapper.js b/src/components/Wrapper.js index d23e2fe4..62fbe7c5 100644 --- a/src/components/Wrapper.js +++ b/src/components/Wrapper.js @@ -1,7 +1,7 @@ // @flow import React, { PureComponent } from 'react' -import { ipcRenderer } from 'electron' // eslint-disable-line import/no-extraneous-dependencies +import { ipcRenderer } from 'electron' import { Route } from 'react-router' import { translate } from 'react-i18next' diff --git a/src/main/app.js b/src/main/app.js index 063d697a..4bf13a86 100644 --- a/src/main/app.js +++ b/src/main/app.js @@ -1,6 +1,6 @@ // @flow -import { app, ipcMain, BrowserWindow } from 'electron' // eslint-disable-line import/no-extraneous-dependencies +import { app, ipcMain, BrowserWindow } from 'electron' // necessary to prevent win from being garbage collected let mainWindow diff --git a/src/main/bridge.js b/src/main/bridge.js index 031aaff6..71d89a73 100644 --- a/src/main/bridge.js +++ b/src/main/bridge.js @@ -1,7 +1,7 @@ // @flow import { fork } from 'child_process' -import { ipcMain } from 'electron' // eslint-disable-line import/no-extraneous-dependencies +import { ipcMain } from 'electron' import objectPath from 'object-path' import { resolve } from 'path' diff --git a/src/renderer/index.js b/src/renderer/index.js index 7af1ec5a..9ed2731a 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -2,7 +2,7 @@ import React from 'react' import { render } from 'react-dom' -import { AppContainer } from 'react-hot-loader' // eslint-disable-line import/no-extraneous-dependencies +import { AppContainer } from 'react-hot-loader' import createHistory from 'history/createHashHistory' import createStore from 'renderer/createStore' diff --git a/src/renderer/initEvents.js b/src/renderer/initEvents.js index 3deea3e6..af5d2d01 100644 --- a/src/renderer/initEvents.js +++ b/src/renderer/initEvents.js @@ -1,6 +1,6 @@ // @flow -import { ipcRenderer } from 'electron' // eslint-disable-line import/no-extraneous-dependencies +import { ipcRenderer } from 'electron' import objectPath from 'object-path' import { devicesUpdate, deviceAdd, deviceRemove } from 'actions/devices' diff --git a/webpack/internals.config.js b/webpack/internals.config.js index 274b4d34..b9b6edd3 100644 --- a/webpack/internals.config.js +++ b/webpack/internals.config.js @@ -1,6 +1,6 @@ const path = require('path') const fs = require('fs') -const webpackMain = require('electron-webpack/webpack.main.config') // eslint-disable-line import/no-extraneous-dependencies +const webpackMain = require('electron-webpack/webpack.main.config') const define = require('./define')