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,3 +1,5 @@
const { app, protocol } = require('electron');
const fs = require('node:fs');
const path = require('node:path');
const v8 = require('node:v8');
@ -12,8 +14,6 @@ process.on('uncaughtException', (err) => {
process.env.TS_NODE_PROJECT = path.resolve(__dirname, '../tsconfig.spec.json');
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true';
const { app, protocol } = require('electron');
// Some Linux machines have broken hardware acceleration support.
if (process.env.ELECTRON_TEST_DISABLE_HARDWARE_ACCELERATION) {
app.disableHardwareAcceleration();