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

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 20:52:01 -07:00 committed by GitHub
parent 479caedc8a
commit e9cb85bea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
209 changed files with 831 additions and 444 deletions

View file

@ -1,15 +1,17 @@
import * as childProcess from 'node:child_process';
import * as path from 'node:path';
import * as http from 'node:http';
import * as https from 'node:https';
import * as http2 from 'node:http2';
import * as net from 'node:net';
import * as v8 from 'node:v8';
import * as url from 'node:url';
import { SuiteFunction, TestFunction } from 'mocha';
import { BrowserWindow } from 'electron/main';
import { AssertionError } from 'chai';
import { SuiteFunction, TestFunction } from 'mocha';
import * as childProcess from 'node:child_process';
import * as http from 'node:http';
import * as http2 from 'node:http2';
import * as https from 'node:https';
import * as net from 'node:net';
import * as path from 'node:path';
import { setTimeout } from 'node:timers/promises';
import * as url from 'node:url';
import * as v8 from 'node:v8';
const addOnly = <T>(fn: Function): T => {
const wrapped = (...args: any[]) => {