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,10 +1,12 @@
const childProcess = require('node:child_process');
const path = require('node:path');
process.on('uncaughtException', function (error) {
process.send(error.stack);
});
const child = require('node:child_process').fork(path.join(__dirname, '/ping.js'));
const child = childProcess.fork(path.join(__dirname, '/ping.js'));
process.on('message', function (msg) {
child.send(msg);
});