build: add import/order eslint rule (#44085)
* build: add import/order eslint rule * chore: run lint:js --fix
This commit is contained in:
parent
684e345f68
commit
122685194a
208 changed files with 794 additions and 441 deletions
|
@ -1,22 +1,24 @@
|
|||
import { expect } from 'chai';
|
||||
import * as childProcess from 'node:child_process';
|
||||
import * as path from 'node:path';
|
||||
import * as fs from 'node:fs';
|
||||
import * as qs from 'node:querystring';
|
||||
import * as http from 'node:http';
|
||||
import * as nodeUrl from 'node:url';
|
||||
import * as os from 'node:os';
|
||||
import { AddressInfo } from 'node:net';
|
||||
import { nativeImage } from 'electron';
|
||||
import { app, BrowserWindow, BrowserView, dialog, ipcMain, OnBeforeSendHeadersListenerDetails, net, protocol, screen, webContents, webFrameMain, session, WebContents, WebFrameMain } from 'electron/main';
|
||||
|
||||
import { expect } from 'chai';
|
||||
|
||||
import * as childProcess from 'node:child_process';
|
||||
import { once } from 'node:events';
|
||||
import * as fs from 'node:fs';
|
||||
import * as http from 'node:http';
|
||||
import { AddressInfo } from 'node:net';
|
||||
import * as os from 'node:os';
|
||||
import * as path from 'node:path';
|
||||
import * as qs from 'node:querystring';
|
||||
import { setTimeout as syncSetTimeout } from 'node:timers';
|
||||
import { setTimeout } from 'node:timers/promises';
|
||||
import * as nodeUrl from 'node:url';
|
||||
|
||||
import { emittedUntil, emittedNTimes } from './lib/events-helpers';
|
||||
import { HexColors, hasCapturableScreen, ScreenCapture } from './lib/screen-helpers';
|
||||
import { ifit, ifdescribe, defer, listen } from './lib/spec-helpers';
|
||||
import { closeWindow, closeAllWindows } from './lib/window-helpers';
|
||||
import { HexColors, hasCapturableScreen, ScreenCapture } from './lib/screen-helpers';
|
||||
import { once } from 'node:events';
|
||||
import { setTimeout } from 'node:timers/promises';
|
||||
import { setTimeout as syncSetTimeout } from 'node:timers';
|
||||
import { nativeImage } from 'electron';
|
||||
|
||||
const fixtures = path.resolve(__dirname, 'fixtures');
|
||||
const mainFixtures = path.resolve(__dirname, 'fixtures');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue