kopia lustrzana https://github.com/mifi/lossless-cut
fix lint
rodzic
76118467f9
commit
84ab53b55d
|
@ -1,7 +1,7 @@
|
|||
process.traceDeprecation = true;
|
||||
process.traceProcessWarnings = true;
|
||||
|
||||
const electron = require('electron'); // eslint-disable-line
|
||||
const electron = require('electron');
|
||||
const isDev = require('electron-is-dev');
|
||||
const unhandled = require('electron-unhandled');
|
||||
const i18n = require('i18next');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const electron = require('electron'); // eslint-disable-line
|
||||
const electron = require('electron');
|
||||
const i18n = require('i18next');
|
||||
|
||||
const { Menu } = electron;
|
||||
|
|
|
@ -77,7 +77,7 @@ import { getOutSegError as getOutSegErrorRaw } from './util/outputNameTemplate';
|
|||
|
||||
import isDev from './isDev';
|
||||
|
||||
const electron = window.require('electron'); // eslint-disable-line
|
||||
const electron = window.require('electron');
|
||||
const { exists } = window.require('fs-extra');
|
||||
const filePathToUrl = window.require('file-url');
|
||||
const { parse: parsePath, join: pathJoin, basename, dirname } = window.require('path');
|
||||
|
|
|
@ -4,7 +4,6 @@ import i18n from 'i18next';
|
|||
import { errorToast } from '../util';
|
||||
import isDev from '../isDev';
|
||||
|
||||
const electron = window.require('electron'); // eslint-disable-line
|
||||
const remote = window.require('@electron/remote');
|
||||
|
||||
const configStore = remote.require('./configStore');
|
||||
|
|
|
@ -3,8 +3,6 @@ import { initReactI18next } from 'react-i18next';
|
|||
|
||||
const Backend = window.require('i18next-fs-backend');
|
||||
|
||||
const electron = window.require('electron'); // eslint-disable-line
|
||||
|
||||
const remote = window.require('@electron/remote');
|
||||
|
||||
const { commonI18nOptions, fallbackLng, loadPath, addPath } = remote.require('./i18n-common');
|
||||
|
|
|
@ -7,7 +7,7 @@ import { Trans } from 'react-i18next';
|
|||
import CopyClipboardButton from './components/CopyClipboardButton';
|
||||
import { isStoreBuild, isMasBuild, isWindowsStoreBuild } from './util';
|
||||
|
||||
const electron = window.require('electron'); // eslint-disable-line
|
||||
const electron = window.require('electron');
|
||||
const os = window.require('os');
|
||||
|
||||
const { app } = window.require('@electron/remote');
|
||||
|
|
Ładowanie…
Reference in New Issue