diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-08 21:36:43 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 19:53:03 +0100 |
commit | d07e7b834831230b53860d0919a68edc2d36193d (patch) | |
tree | a1f2a021563ddff54f33341c475fc6c6eb787388 /packages/main/src/devTools.ts | |
parent | New configurations based on review comments (WIP) (diff) | |
download | sophie-d07e7b834831230b53860d0919a68edc2d36193d.tar.gz sophie-d07e7b834831230b53860d0919a68edc2d36193d.tar.zst sophie-d07e7b834831230b53860d0919a68edc2d36193d.zip |
build: Eslint fixes for multi-module project
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/src/devTools.ts')
-rw-r--r-- | packages/main/src/devTools.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/main/src/devTools.ts b/packages/main/src/devTools.ts index 398904c..0486c36 100644 --- a/packages/main/src/devTools.ts +++ b/packages/main/src/devTools.ts | |||
@@ -46,7 +46,12 @@ export async function installDevToolsExtensions(): Promise<void> { | |||
46 | default: installExtension, | 46 | default: installExtension, |
47 | REACT_DEVELOPER_TOOLS, | 47 | REACT_DEVELOPER_TOOLS, |
48 | REDUX_DEVTOOLS, | 48 | REDUX_DEVTOOLS, |
49 | } = require('electron-devtools-installer'); | 49 | /* eslint-disable-next-line |
50 | import/no-extraneous-dependencies, | ||
51 | global-require, | ||
52 | @typescript-eslint/no-var-requires | ||
53 | */ | ||
54 | } = require('electron-devtools-installer') as typeof import('electron-devtools-installer'); | ||
50 | await installExtension( | 55 | await installExtension( |
51 | [ | 56 | [ |
52 | REACT_DEVELOPER_TOOLS, | 57 | REACT_DEVELOPER_TOOLS, |