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,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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue