diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
commit | d85f09cbed5f3d2501f791e689011ae127df1cbb (patch) | |
tree | 0ed5be55dd5d3dec1d51eb60e7ff229274030a57 /packages/main/src/devTools.ts | |
parent | build: Disable single-run eslint-typescript (diff) | |
download | sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.gz sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.zst sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.zip |
build: Add prettier
eslint will also enforce prettier rules, so there is no need to call
prettier separately in CI.
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 | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/packages/main/src/devTools.ts b/packages/main/src/devTools.ts index 0486c36..69f1514 100644 --- a/packages/main/src/devTools.ts +++ b/packages/main/src/devTools.ts | |||
@@ -52,18 +52,12 @@ export async function installDevToolsExtensions(): Promise<void> { | |||
52 | @typescript-eslint/no-var-requires | 52 | @typescript-eslint/no-var-requires |
53 | */ | 53 | */ |
54 | } = require('electron-devtools-installer') as typeof import('electron-devtools-installer'); | 54 | } = require('electron-devtools-installer') as typeof import('electron-devtools-installer'); |
55 | await installExtension( | 55 | await installExtension([REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS], { |
56 | [ | 56 | forceDownload: false, |
57 | REACT_DEVELOPER_TOOLS, | 57 | loadExtensionOptions: { |
58 | REDUX_DEVTOOLS, | 58 | allowFileAccess: true, |
59 | ], | ||
60 | { | ||
61 | forceDownload: false, | ||
62 | loadExtensionOptions: { | ||
63 | allowFileAccess: true, | ||
64 | }, | ||
65 | }, | 59 | }, |
66 | ); | 60 | }); |
67 | } | 61 | } |
68 | 62 | ||
69 | /** | 63 | /** |