build: add import/order eslint rule (#44085)

* build: add import/order eslint rule

* chore: run lint:js --fix
This commit is contained in:
Samuel Attard 2024-10-02 19:10:44 -07:00 committed by GitHub
parent 684e345f68
commit 122685194a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
208 changed files with 794 additions and 441 deletions

View file

@ -1,14 +1,15 @@
import { expect } from 'chai';
import * as http from 'node:http';
import * as fs from 'node:fs/promises';
import * as path from 'node:path';
import { BrowserWindow, WebPreferences } from 'electron/main';
import { closeWindow } from './lib/window-helpers';
import { expect } from 'chai';
import * as fs from 'node:fs/promises';
import * as http from 'node:http';
import * as path from 'node:path';
import { setTimeout } from 'node:timers/promises';
import { emittedUntil } from './lib/events-helpers';
import { listen } from './lib/spec-helpers';
import { setTimeout } from 'node:timers/promises';
import { closeWindow } from './lib/window-helpers';
const messageContainsSecurityWarning = (event: Event, level: number, message: string) => {
return message.includes('Electron Security Warning');