diff --git a/desktop/app/src/MenuBar.tsx b/desktop/app/src/MenuBar.tsx index 0e5b2e65f..c35bc363f 100644 --- a/desktop/app/src/MenuBar.tsx +++ b/desktop/app/src/MenuBar.tsx @@ -7,6 +7,9 @@ * @format */ +// Deliberate use of remote in this context. +/* eslint-disable no-restricted-properties */ + import {FlipperPlugin, FlipperDevicePlugin, PluginDefinition} from './plugin'; import { showOpenDialog, diff --git a/desktop/app/src/init.tsx b/desktop/app/src/init.tsx index 3148269b9..bbf70bc7d 100644 --- a/desktop/app/src/init.tsx +++ b/desktop/app/src/init.tsx @@ -49,6 +49,7 @@ import styled from '@emotion/styled'; import {CopyOutlined} from '@ant-design/icons'; import {getVersionString} from './utils/versionString'; import {PersistGate} from 'redux-persist/integration/react'; +// eslint-disable-next-line flipper/no-electron-remote-imports import {ipcRenderer, remote} from 'electron'; if (process.env.NODE_ENV === 'development' && os.platform() === 'darwin') {